[Webkit-unassigned] [Bug 280182] New: [JSC] Add fast path for `Array.prototype.with`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 23 05:45:33 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280182

            Bug ID: 280182
           Summary: [JSC] Add fast path for `Array.prototype.with`
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aosukeke at gmail.com

This patch adds a fast path for `Array.prototype.with` using `@arrayFromFastFillWithUndefined`.

    According to the microbenth, it is 1.8x faster.

                                            TipOfTree                  Patched

    array-prototype-with-fast-path        0.5715+-0.0107     ^      0.3120+-0.0122        ^ definitely 1.8316x faster

    <geometric>                           0.5715+-0.0107     ^      0.3120+-0.0122        ^ definitely 1.8316x faster

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240923/e4b0b540/attachment.htm>


More information about the webkit-unassigned mailing list