[webkit-changes] [WebKit/WebKit] 8415d6: Add signposts for milestones relevant for page loa...
Simon Fraser
noreply at github.com
Mon Jul 17 18:14:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8415d69d47cb3f936b26017a8d47a9d4fefb660b
https://github.com/WebKit/WebKit/commit/8415d69d47cb3f936b26017a8d47a9d4fefb660b
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M Source/WebCore/dom/Document.cpp
M Source/WebCore/page/LocalDOMWindow.cpp
M Source/WebCore/page/LocalFrameView.cpp
Log Message:
-----------
Add signposts for milestones relevant for page loading
https://bugs.webkit.org/show_bug.cgi?id=259005
rdar://111931790
Reviewed by Ben Nham and Ryosuke Niwa.
Add os_signpost logs for DOMContentLoaded, First Meaningful Paint (used internally), First Contentful Paint
(used by Performance Timeline) and the Load event. These all fire only for the main frame.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::enqueuePaintTimingEntryIfNeeded):
(WebCore::Document::finishedParsing):
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::dispatchLoadEvent):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::firePaintRelatedMilestonesIfNeeded):
Canonical link: https://commits.webkit.org/266121@main
More information about the webkit-changes
mailing list