Closed Bug 1954478 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 51373 - Optimize string formatting

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 51373 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/51373
Details from upstream follow.

Domenic Denicola <d@domenic.me> wrote:

Optimize string formatting

Instead of doing 36 passes through the string, do a single pass.

This took up around 2% of the time running a large test (Range-mutations-dataChange.html) in jsdom.

Part of https://github.com/jsdom/jsdom/issues/3154.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4251652759e0 [wpt PR 51373] - Optimize string formatting, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.