Bug 222476 - [Cocoa] Start WebContent process pre-warming when process is initialized
Summary: [Cocoa] Start WebContent process pre-warming when process is initialized
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-26 09:17 PST by Per Arne Vollan
Modified: 2021-02-26 12:22 PST (History)
4 users (show)

See Also:


Attachments
Patch (2.19 KB, patch)
2021-02-26 09:18 PST, Per Arne Vollan
cdumez: review+
cdumez: commit-queue-
Details | Formatted Diff | Diff
Patch (2.77 KB, patch)
2021-02-26 10:37 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2021-02-26 09:17:02 PST
Instead of pre-warming in response to a message, the WebContent process can start pre-warming automatically if it is of a pre-warmed process type. This saves one IPC message on startup of the WebContent process.
Comment 1 Per Arne Vollan 2021-02-26 09:18:13 PST
Created attachment 421657 [details]
Patch
Comment 2 Chris Dumez 2021-02-26 10:01:42 PST
Comment on attachment 421657 [details]
Patch

r=me but please drop the WebProcess::PrewarmGlobally IPC message from WebProcess.messages.in.
Comment 3 Per Arne Vollan 2021-02-26 10:22:32 PST
(In reply to Chris Dumez from comment #2)
> Comment on attachment 421657 [details]
> Patch
> 
> r=me but please drop the WebProcess::PrewarmGlobally IPC message from
> WebProcess.messages.in.

Will do!

Thanks for reviewing!
Comment 4 Per Arne Vollan 2021-02-26 10:37:16 PST
Created attachment 421674 [details]
Patch
Comment 5 EWS 2021-02-26 12:21:42 PST
Committed r273575: <https://commits.webkit.org/r273575>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 421674 [details].
Comment 6 Radar WebKit Bug Importer 2021-02-26 12:22:17 PST
<rdar://problem/74801633>