Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 385df14809057b2e868e641996a97f7f83a4ebb5
https://github.com/WebKit/WebKit/commit/385df14809057b2e868e641996a97f7f83a4ebb5
Author: Sosuke Suzuki <[email protected]>
Date: 2025-02-04 (Tue, 04 Feb 2025)
Changed paths:
A JSTests/microbenchmarks/array-prototype-with-storage.js
A JSTests/stress/array-prototype-with-storage.js
M Source/JavaScriptCore/runtime/JSArray.cpp
Log Message:
-----------
[JSC] Add fast path in `Array#with` for `ArrayWithArrayStorage`
https://bugs.webkit.org/show_bug.cgi?id=286798
Reviewed by Yusuke Suzuki.
We already added fast paths to `Array#with` for ArrayWithInt32,
ArrayWithDouble, and ArrayWithContiguous[1].
This patch adds a fast path for ArrayWithArrayStorage.
TipOfTree Patched
array-prototype-with-storage 931.2594+-41.9099 ^ 181.3328+-17.4305
^ definitely 5.1356x faster
[1]: https://commits.webkit.org/287431@main
* JSTests/microbenchmarks/array-prototype-with-storage.js: Added.
* JSTests/stress/array-prototype-with-storage.js: Added.
(sameArray):
* Source/JavaScriptCore/runtime/JSArray.cpp:
(JSC::JSArray::fastWith):
Canonical link: https://commits.webkit.org/289782@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