Bug 232458

Summary: Use higher QoS for WheelEvent and DisplayWasRefreshed IPCs
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, benjamin, cmarcelo, ews-watchlist, ggaren, kkinnunen, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

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].