[webkit-changes] [WebKit/WebKit] e11de7: Coalesce VisitedLinkTableController messages
bnham
noreply at github.com
Fri Dec 6 17:07:23 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e11de77febe887f97f694bb1cb29a14f25728f93
https://github.com/WebKit/WebKit/commit/e11de77febe887f97f694bb1cb29a14f25728f93
Author: Ben Nham <nham at apple.com>
Date: 2024-12-06 (Fri, 06 Dec 2024)
Changed paths:
M Source/WebKit/UIProcess/VisitedLinkStore.cpp
M Source/WebKit/WebProcess/WebPage/VisitedLinkTableController.messages.in
Log Message:
-----------
Coalesce VisitedLinkTableController messages
https://bugs.webkit.org/show_bug.cgi?id=284180
rdar://141060207
Reviewed by Ryan Reno.
When analyzing long-running traces of web usage, it looks like VisitedLinkTableController messages
are now the top contributor to spurious WebContent process wakeups. Fix this by marking the messages
as not being sent if the receiver is suspended, and by sending the AllVisitedLinkStateChanged
message (which is coalescable) if the receiver is suspended.
* Source/WebKit/UIProcess/VisitedLinkStore.cpp:
(WebKit::VisitedLinkStore::didUpdateSharedStringHashes):
* Source/WebKit/WebProcess/WebPage/VisitedLinkTableController.messages.in:
Canonical link: https://commits.webkit.org/287479@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list