WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
269985
Cache reftest screenshots
https://bugs.webkit.org/show_bug.cgi?id=269985
Summary
Cache reftest screenshots
Sam Sneddon [:gsnedders]
Reported
2024-02-23 05:38:11 PST
Once we are finding reftests via rel=match, we can then have multiple tests using the same reference URL. There's no reason to load the same reference URL hundreds (or even thousands, in the most common case!) of times. e.g. ref-filled-green-100px-square.xht is used >2k times; if we assume loading and doing the screenshot takes 25ms each time, then almost a minute is spent just taking screenshots of that URL. Actually caching screenshots probably also would significantly decrease the cost of importing css/CSS2 (
Bug 209735
), as CSS2 counts for a large percentage of all reftests in WPT. My initial inclination would be to cache per test runner worker (as this avoids having to synchronise caches).
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-23 05:38:18 PST
<
rdar://problem/123504651
>
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