Bug 232458 - Use higher QoS for WheelEvent and DisplayWasRefreshed IPCs
Summary: Use higher QoS for WheelEvent and DisplayWasRefreshed IPCs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-28 15:20 PDT by Chris Dumez
Modified: 2021-11-02 08:43 PDT (History)
8 users (show)

See Also:


Attachments
Patch (12.09 KB, patch)
2021-10-28 15:23 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (12.24 KB, patch)
2021-10-29 12:42 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (12.29 KB, patch)
2021-10-29 14:59 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-10-28 15:20:25 PDT
Use higher QoS for WheelEvent and DisplayWasRefreshed IPCs since those are high priority. The UIProcess's main thread has high UserInteractive QoS but the IPC thread has a lower QoS by default.
We cannot raise the QoS of the IPC thread without regressing some performance benchmarks since not all IPC is high priority.
Comment 1 Chris Dumez 2021-10-28 15:20:46 PDT
<rdar://82657744>
Comment 2 Chris Dumez 2021-10-28 15:23:24 PDT
Created attachment 442751 [details]
Patch
Comment 3 Chris Dumez 2021-10-29 11:20:23 PDT
This is causing WKWebView.PrepareForMoveToWindowThenClose API test to fail. I am investigating.
Comment 4 Chris Dumez 2021-10-29 12:42:51 PDT
Created attachment 442850 [details]
Patch
Comment 5 Chris Dumez 2021-10-29 14:59:52 PDT
Created attachment 442867 [details]
Patch
Comment 6 EWS 2021-11-02 08:43:06 PDT
Committed r285159 (243795@main): <https://commits.webkit.org/243795@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442867 [details].