Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9d05511754832dd246bb82c366f7619cb88c4f8e
https://github.com/WebKit/WebKit/commit/9d05511754832dd246bb82c366f7619cb88c4f8e
Author: Sosuke Suzuki <[email protected]>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M Source/JavaScriptCore/jit/ThunkGenerators.cpp
M Source/JavaScriptCore/jit/ThunkGenerators.h
M Source/JavaScriptCore/runtime/VM.cpp
Log Message:
-----------
[JSC] Support JIT compiling for `String#at` by ThunkGenerators
https://bugs.webkit.org/show_bug.cgi?id=292474
Reviewed by Keith Miller.
This patch changes to support JIT compiling for `String#at`
by ThunkGenerators.
Mircobenchmark results with `useDFGJIT=0`:
TipOfTree
Patched
string-prototype-at-negative-index 5.6976+-0.1307 ^
4.2518+-0.1516 ^ definitely 1.3400x faster
string-prototype-at-positive-index 6.3179+-1.4795 ^
3.9806+-0.0536 ^ definitely 1.5872x faster
* Source/JavaScriptCore/jit/ThunkGenerators.cpp:
(JSC::stringCharLoad):
(JSC::charCodeAtThunkGenerator):
(JSC::charAtThunkGenerator):
(JSC::stringAtThunkGenerator):
* Source/JavaScriptCore/jit/ThunkGenerators.h:
* Source/JavaScriptCore/runtime/VM.cpp:
(JSC::thunkGeneratorForIntrinsic):
Canonical link: https://commits.webkit.org/294841@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes