[webkit-changes] [WebKit/WebKit] 3ef868: Low end devices should not prewarm Web process on ...

Per Arne Vollan noreply at github.com
Tue Aug 8 23:40:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ef8682eac94626fe6b183359a425396aa30deba
      https://github.com/WebKit/WebKit/commit/3ef8682eac94626fe6b183359a425396aa30deba
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Low end devices should not prewarm Web process on provisional load
https://bugs.webkit.org/show_bug.cgi?id=259927
rdar://113557767

Reviewed by Chris Dumez.

After 266255 at main, a Web process is prewarmed on provisional load instead of when the main frame load has finished.
This is a page load time progression on most iOS devices, except for the low end ones. For these devices, we should
still be prewarming when the main frame load has finished. The change in 266255 at main is also performance neutral on
macOS, so we can also keep the original behavior there.

* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::shouldPrewarmWebProcessOnProvisionalLoad):
(WebKit::WebPageProxy::didStartProvisionalLoadForFrameShared):
(WebKit::WebPageProxy::didFinishLoadForFrame):

Canonical link: https://commits.webkit.org/266717@main




More information about the webkit-changes mailing list