[webkit-changes] [WebKit/WebKit] d6c40e: [JSC] Add useCompilerSignpost option to emit signp...
Yusuke Suzuki
noreply at github.com
Thu Jan 25 09:05:23 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d6c40e2a0098eab3db91270abcdeefe6059db682
https://github.com/WebKit/WebKit/commit/d6c40e2a0098eab3db91270abcdeefe6059db682
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M Source/JavaScriptCore/jit/JITCompilationMode.cpp
M Source/JavaScriptCore/jit/JITPlan.cpp
M Source/JavaScriptCore/runtime/OptionsList.h
M Source/WTF/wtf/SystemTracing.h
Log Message:
-----------
[JSC] Add useCompilerSignpost option to emit signpost with compiled function information
https://bugs.webkit.org/show_bug.cgi?id=268067
rdar://121584775
Reviewed by Ryosuke Niwa.
This patch adds a JSC option, useCompilerSignpost, which can emit signpost for JSC JIT Compiler activities.
We record function name etc. as an interval signpost to investigate compiler activities in the complicated workload.
We also adjust JITCompilationMode's string to make it more modern and readable.
* Source/JavaScriptCore/jit/JITCompilationMode.cpp:
(WTF::printInternal):
* Source/JavaScriptCore/jit/JITPlan.cpp:
(JSC::JITPlan::compileInThread):
* Source/JavaScriptCore/runtime/OptionsList.h:
* Source/WTF/wtf/SystemTracing.h:
Canonical link: https://commits.webkit.org/273507@main
More information about the webkit-changes
mailing list