RESOLVED FIXED 147313
[WK2][iOS] WebContent process main thread should have fixed priority
https://bugs.webkit.org/show_bug.cgi?id=147313
Summary [WK2][iOS] WebContent process main thread should have fixed priority
Chris Dumez
Reported 2015-07-26 20:50:55 PDT
WebContent process main thread should have fixed priority on iOS 9. Priority decay regresses PLT and fixing the priority gives up a ~3% progression on warm PLT.
Attachments
Patch (2.02 KB, patch)
2015-07-26 20:54 PDT, Chris Dumez
no flags
Patch (1.91 KB, patch)
2015-07-26 21:23 PDT, Chris Dumez
no flags
Patch (1.90 KB, patch)
2015-07-26 21:30 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-07-26 20:51:09 PDT
Chris Dumez
Comment 2 2015-07-26 20:54:12 PDT
Sam Weinig
Comment 3 2015-07-26 21:04:47 PDT
Comment on attachment 257541 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=257541&action=review > Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm:176 > + if (parameters.uiProcessBundleIdentifier == "com.apple.mobilesafari") Why only for MobileSafari? If this is a good idea for MobileSafari, why isn't it a good idea all he time?
Chris Dumez
Comment 4 2015-07-26 21:06:13 PDT
(In reply to comment #3) > Comment on attachment 257541 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=257541&action=review > > > Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm:176 > > + if (parameters.uiProcessBundleIdentifier == "com.apple.mobilesafari") > > Why only for MobileSafari? If this is a good idea for MobileSafari, why > isn't it a good idea all he time? Please see radar for more information.
Chris Dumez
Comment 5 2015-07-26 21:23:01 PDT
Chris Dumez
Comment 6 2015-07-26 21:23:46 PDT
(In reply to comment #3) > Comment on attachment 257541 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=257541&action=review > > > Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm:176 > > + if (parameters.uiProcessBundleIdentifier == "com.apple.mobilesafari") > > Why only for MobileSafari? If this is a good idea for MobileSafari, why > isn't it a good idea all he time? I removed the check as discussed offline.
Darin Adler
Comment 7 2015-07-26 21:24:10 PDT
Comment on attachment 257542 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=257542&action=review Yuck. > Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm:173 > +#if (TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000) No need for the parentheses.
Chris Dumez
Comment 8 2015-07-26 21:30:01 PDT
Chris Dumez
Comment 9 2015-07-26 22:09:47 PDT
Comment on attachment 257544 [details] Patch Clearing flags on attachment: 257544 Committed r187412: <http://trac.webkit.org/changeset/187412>
Chris Dumez
Comment 10 2015-07-26 22:09:55 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.