[webkit-changes] [WebKit/WebKit] b37512: [JSC] Add fast path for `Array#indexOf` searchs in...
SUZUKI Sosuke
noreply at github.com
Mon Feb 24 02:55:37 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b37512b75772d9e5c8d577984d88cee697acdd00
https://github.com/WebKit/WebKit/commit/b37512b75772d9e5c8d577984d88cee697acdd00
Author: Sosuke Suzuki <aosukeke at gmail.com>
Date: 2025-02-24 (Mon, 24 Feb 2025)
Changed paths:
A JSTests/microbenchmarks/array-prototype-indexOf-int32-from-contiguous.js
A JSTests/stress/array-prototype-indexOf-int32-from-contiguous.js
M Source/JavaScriptCore/dfg/DFGOperations.cpp
Log Message:
-----------
[JSC] Add fast path for `Array#indexOf` searchs int32 from contiguous array
https://bugs.webkit.org/show_bug.cgi?id=288352
Reviewed by Yusuke Suzuki.
This patch adds fast path for `Array#indexOf` searchs
int32 from contiguous array.
TipOfTree Patched
array-prototype-indexOf-int32-from-contiguous
30.5272+-0.7824 ^ 18.8472+-1.2090 ^ definitely 1.6197x faster
* JSTests/microbenchmarks/array-prototype-indexOf-int32-from-contiguous.js: Added.
* Source/JavaScriptCore/dfg/DFGOperations.cpp:
(JSC::DFG::JSC_DEFINE_JIT_OPERATION):
Canonical link: https://commits.webkit.org/290939@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