Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ef8682eac94626fe6b183359a425396aa30deba
      
https://github.com/WebKit/WebKit/commit/3ef8682eac94626fe6b183359a425396aa30deba
  Author: Per Arne Vollan <[email protected]>
  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@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@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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to