Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6ce95a8a6fc3a22908a89f8cc4763f9f5251e552
      
https://github.com/WebKit/WebKit/commit/6ce95a8a6fc3a22908a89f8cc4763f9f5251e552
  Author: Per Arne Vollan <[email protected]>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M Source/WebCore/html/parser/HTMLParserScheduler.cpp

  Log Message:
  -----------
  Tweak HTML parser yielding
https://bugs.webkit.org/show_bug.cgi?id=228780
rdar://81517847

Reviewed by Ryosuke Niwa.

Tweak html parser yielding to attempt to improve page load performance with 
respect to certain page load metrics.
This patch makes the parser yield if the page has not painted before and 
meaningful content has been loaded. So
far, this looks like a 1-2% improvement in page load times.

* Source/WebCore/html/parser/HTMLParserScheduler.cpp:
(WebCore::HTMLParserScheduler::shouldYieldBeforeExecutingScript):

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


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

Reply via email to