[webkit-changes] [WebKit/WebKit] ff6364: Add support for collecting stats on CSS selector o...
Commit Queue
noreply at github.com
Mon Apr 3 19:40:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ff6364a5ebb3d2d97284b9577c1d014339f570a0
https://github.com/WebKit/WebKit/commit/ff6364a5ebb3d2d97284b9577c1d014339f570a0
Author: Mark Lam <mark.lam at apple.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M Source/WebCore/cssjit/SelectorCompiler.cpp
Log Message:
-----------
Add support for collecting stats on CSS selector operation functions.
https://bugs.webkit.org/show_bug.cgi?id=254877
rdar://10752100
Reviewed by Chris Dumez.
To collect these stats, change the #define of ENABLE_SELECTOR_OPERATION_STATS in
SelectorCompiler.cpp to 1. Then, add a call to dumpSelectorOperationStats() at
an appropriate place to dump the stats after it is collected. See comment at the
top of SelectorCompiler.cpp for a suggestion of where to do this. After that,
rebuild WebKit.
* Source/WebCore/cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::numberOfSelectorOperations):
(WebCore::SelectorCompiler::dumpSelectorOperationStats):
(WebCore::SelectorCompiler::JSC_DEFINE_JIT_OPERATION):
Canonical link: https://commits.webkit.org/262557@main
More information about the webkit-changes
mailing list