Title: [166754] trunk/Source/WebKit2
- Revision
- 166754
- Author
- [email protected]
- Date
- 2014-04-03 16:51:47 -0700 (Thu, 03 Apr 2014)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (166753 => 166754)
--- trunk/Source/WebKit2/ChangeLog 2014-04-03 23:28:42 UTC (rev 166753)
+++ trunk/Source/WebKit2/ChangeLog 2014-04-03 23:51:47 UTC (rev 166754)
@@ -1,3 +1,15 @@
+2014-04-03 Michael Saboff <[email protected]>
+
+ 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):
+
2014-04-03 Simon Fraser <[email protected]>
ASSERT(m_children.isEmpty()) in PlatformCALayerRemote::removeAllSublayers() on time.com
Modified: trunk/Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm (166753 => 166754)
--- trunk/Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm 2014-04-03 23:28:42 UTC (rev 166753)
+++ trunk/Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm 2014-04-03 23:51:47 UTC (rev 166754)
@@ -180,9 +180,16 @@
xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { });
xpc_connection_resume(connection);
-#if ENABLE(NETWORK_PROCESS)
+#if ENABLE(NETWORK_PROCESS) || OS(IOS)
+#if OS(IOS)
+ // Leak a boost onto any WebKit2 process.
+ bool shouldBoost = true;
+#else
// Leak a boost onto the NetworkProcess.
- if (launchOptions.processType == ProcessLauncher::NetworkProcess) {
+ bool shouldBoost = launchOptions.processType == ProcessLauncher::NetworkProcess;
+#endif
+
+ if (shouldBoost) {
xpc_object_t preBootstrapMessage = xpc_dictionary_create(0, 0, 0);
xpc_dictionary_set_string(preBootstrapMessage, "message-name", "pre-bootstrap");
xpc_connection_send_message(connection, preBootstrapMessage);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes