[Webkit-unassigned] [Bug 242571] New: Explore skipping fastStringify for a while if it’s been failing repeatedly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 10 06:03:29 PDT 2022


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

            Bug ID: 242571
           Summary: Explore skipping fastStringify for a while if it’s
                    been failing repeatedly
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: darin at apple.com

Some tests in Speedometer2 are slower because they try the stringify fast path over and over again and it doesn't work. We should assume that if we call stringify repeatedly it is likely the calls will either all work with the fast path or all fail. We can create a heuristic where each time the stringify fast path fails we don’t try it again for some number of subsequent calls. That way if we are repeatedly doing calls that work with the fast path we'll keep using it every time, and if we are repeatedly doing calls that don't work with the fast path we'll only try it some small percentage of the time.

We can judge this heuristic with Speedometer2 itself, but it's likely the heuristic will also be effective on web content in the wild.

-- 
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/20220710/0e7324bc/attachment.htm>


More information about the webkit-unassigned mailing list