Bug 231301

Summary: Adopt WTF::ApproximateTime in IPC::Timeout
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebKit2Assignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, kkinnunen, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 230860    
Attachments:
Description Flags
For EWS none

Wenson Hsieh
Reported 2021-10-06 09:58:00 PDT
When computing time out deadlines for IPC messages, the time granularities (on the order of hundreds of ms) are many, many orders of magnitude greater than the granularity of ApproximateTime; this makes it much cheaper to use ApproximateTime instead of MonotonicTime when computing these deadlines, which significantly improves performance in the case where we're streaming high volumes of IPC messages.
Attachments
For EWS (3.03 KB, patch)
2021-10-06 10:01 PDT, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2021-10-06 10:01:58 PDT
EWS
Comment 2 2021-10-06 16:18:23 PDT
Committed r283678 (242616@main): <https://commits.webkit.org/242616@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440383 [details].
Radar WebKit Bug Importer
Comment 3 2021-10-06 16:19:24 PDT
Note You need to log in before you can comment on or make changes to this bug.