[webkit-changes] [WebKit/WebKit] a76856: Prewarm Web process when load starts
Per Arne Vollan
noreply at github.com
Mon Jul 24 10:52:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a7685646bededd26e4b2a8a0b69e0b7c05cbede8
https://github.com/WebKit/WebKit/commit/a7685646bededd26e4b2a8a0b69e0b7c05cbede8
Author: Per Arne Vollan <pvollan at apple.com>
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebProcessPool.h
Log Message:
-----------
Prewarm Web process when load starts
https://bugs.webkit.org/show_bug.cgi?id=259447
rdar://112777207
Reviewed by Brent Fulgham.
We currently prewarm a Web process when the main frame load has finished. Instead, prewarm a Web process
when the provisional load starts, which has been measured to be a 1-2% speedup in page load time.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::notifyProcessPoolToPrewarm):
(WebKit::WebPageProxy::didStartProvisionalLoadForFrameShared):
(WebKit::WebPageProxy::didFinishLoadForFrame):
* Source/WebKit/UIProcess/WebProcessPool.h:
Canonical link: https://commits.webkit.org/266255@main
More information about the webkit-changes
mailing list