[wpt-sync] Sync PR 63995 - Add `Cache-Control` headers for the test262 harness scripts
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63995 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63995
Details from upstream follow.
Shannon Booth <shannon.ml.booth@gmail.com> wrote:
Add
Cache-Controlheaders for the test262 harness scriptsEvery test262 test loads many common JavaScript files. Use
Cache-Control: max-age=3600(like in resources/*.headers) so that long
runs don't fetch and compile them again for each test.The vendored harness gets
__dir__.headersfiles instead so that they
also cover harness files added by later test262 syncs.
Locally, this seems to cut CPU work per test262 test (running against ladybird) by about 15% - 20%.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
| Assignee | ||
Comment 2•1 month ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 4•1 month ago
|
||
Test result changes from PR not available.
Comment 5•29 days ago
|
||
| bugherder | ||
Description
•