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

Description Wenson Hsieh 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.
Comment 1 Wenson Hsieh 2021-10-06 10:01:58 PDT
Created attachment 440383 [details]
For EWS
Comment 2 EWS 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].
Comment 3 Radar WebKit Bug Importer 2021-10-06 16:19:24 PDT
<rdar://problem/83957089>