Bug 231301 - Adopt WTF::ApproximateTime in IPC::Timeout
Summary: Adopt WTF::ApproximateTime in IPC::Timeout
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks: 230860
  Show dependency treegraph
 
Reported: 2021-10-06 09:58 PDT by Wenson Hsieh
Modified: 2021-10-06 16:19 PDT (History)
5 users (show)

See Also:


Attachments
For EWS (3.03 KB, patch)
2021-10-06 10:01 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>