Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b9008f390e5fac6686348939a08b8d265f265fce
https://github.com/WebKit/WebKit/commit/b9008f390e5fac6686348939a08b8d265f265fce
Author: Yusuke Suzuki <[email protected]>
Date: 2026-07-03 (Fri, 03 Jul 2026)
Changed paths:
M Source/JavaScriptCore/bytecode/CodeBlock.cpp
Log Message:
-----------
[JSC] Make CodeBlock::updateAllNonLazyValueProfilePredictionsAndCountLiveness
tight
https://bugs.webkit.org/show_bug.cgi?id=314984
rdar://177291111
Reviewed by Yijia Huang and Dan Hecht.
This code is extremely hot when we have large function (e.g. Air).
This patch avoids three independent profile.numberOfSamples(),
profile.isSampledBefore(), profile.computeUpdatedPrediction() calls
and combine them into one computeUpdatedPrediction.
* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::updateAllNonLazyValueProfilePredictionsAndCountLiveness):
Canonical link: https://commits.webkit.org/316497@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications