Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 26af206baebb8ac5135d558d416c7a313e2c9afe
      
https://github.com/WebKit/WebKit/commit/26af206baebb8ac5135d558d416c7a313e2c9afe
  Author: Sosuke Suzuki <[email protected]>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    A JSTests/stress/array-contains-hole-double-simd.js
    M Source/JavaScriptCore/runtime/JSArrayInlines.h
    M Source/WTF/wtf/SIMDHelpers.h
    M Source/WTF/wtf/text/StringCommon.h
    M Tools/TestWebKitAPI/Tests/WTF/StringCommon.cpp

  Log Message:
  -----------
  [JSC] Use `WTF::find64` in `containsHole` for double array
https://bugs.webkit.org/show_bug.cgi?id=308947

Reviewed by Yusuke Suzuki.

This patch changes to use `WTF::find64` in `containsHole` for double array.

                                                  TipOfTree                  
Patched

array-prototype-copyWithin-double             317.7650+-3.3929     ^    
142.9628+-1.7475        ^ definitely 2.2227x faster
array-prototype-toSpliced-double-double        60.8339+-7.0380     ^     
42.0956+-0.7234        ^ definitely 1.4451x faster
array-prototype-toReversed-double               8.3990+-0.0933     ^      
6.8441+-0.2938        ^ definitely 1.2272x faster
array-prototype-with-hole-double                6.0217+-0.2820     ^      
4.9676+-0.1240        ^ definitely 1.2122x faster

Test: JSTests/stress/array-contains-hole-double-simd.js

* JSTests/stress/array-contains-hole-double-simd.js: Added.
(shouldBe):
(test):
* Source/JavaScriptCore/runtime/JSArrayInlines.h:
(JSC::containsHole):
* Source/WTF/wtf/text/StringCommon.h:
(WTF::findNaN):
* Tools/TestWebKitAPI/Tests/WTF/StringCommon.cpp:
(TestWebKitAPI::TEST(WTF_StringCommon, FindNaN)):

Canonical link: https://commits.webkit.org/308834@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to