WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
242571
Explore skipping fastStringify for a while if it’s been failing repeatedly
https://bugs.webkit.org/show_bug.cgi?id=242571
Summary
Explore skipping fastStringify for a while if it’s been failing repeatedly
Darin Adler
Reported
2022-07-10 06:03:29 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2022-07-11 08:51:52 PDT
My first try at this did not help significantly, so I think I’ll drop this.
Radar WebKit Bug Importer
Comment 2
2022-07-17 06:04:15 PDT
<
rdar://problem/97151013
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug