Changeset 166754 in webkit


Ignore:
Timestamp:
Apr 3, 2014 4:51:47 PM (10 years ago)
Author:
msaboff@apple.com
Message:

REGRESSION: PCE.js is 20x slower in WebKit2 because timers are throttled
https://bugs.webkit.org/show_bug.cgi?id=131189

Reviewed by Geoffrey Garen.

Elevate the priority of all WebKit2 service processes on iOS, not just the network process.

  • UIProcess/Launcher/mac/ProcessLauncherMac.mm:

(WebKit::connectToService):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r166753 r166754  
     12014-04-03  Michael Saboff  <msaboff@apple.com>
     2
     3        REGRESSION: PCE.js is 20x slower in WebKit2 because timers are throttled
     4        https://bugs.webkit.org/show_bug.cgi?id=131189
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Elevate the priority of all WebKit2 service processes on iOS, not just the network process.
     9
     10        * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
     11        (WebKit::connectToService):
     12
    1132014-04-03  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm

    r165746 r166754  
    181181    xpc_connection_resume(connection);
    182182
    183 #if ENABLE(NETWORK_PROCESS)
     183#if ENABLE(NETWORK_PROCESS) || OS(IOS)
     184#if OS(IOS)
     185    // Leak a boost onto any WebKit2 process.
     186    bool shouldBoost = true;
     187#else
    184188    // Leak a boost onto the NetworkProcess.
    185     if (launchOptions.processType == ProcessLauncher::NetworkProcess) {
     189    bool shouldBoost = launchOptions.processType == ProcessLauncher::NetworkProcess;
     190#endif
     191
     192    if (shouldBoost) {
    186193        xpc_object_t preBootstrapMessage = xpc_dictionary_create(0, 0, 0);
    187194        xpc_dictionary_set_string(preBootstrapMessage, "message-name", "pre-bootstrap");
Note: See TracChangeset for help on using the changeset viewer.