Closed Bug 1803098 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37225 - Improve performance of compute-kind-widget-no-fallback-props-001.html

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

Improve performance of compute-kind-widget-no-fallback-props-001.html

This test is flaky on debug bots (timeout), and it takes a while to
get the first frame when testing locally in a release build as well.

Instead of doing style recalc thousands of times, batch all mutations
together and do recalc once at the end.

Bug: 1382611
Change-Id: I43bb73d7bff6b81ede63dfa58d2a18a97b017d1a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4061597
Reviewed-by: Steinar H Gunderson \<sesse@chromium.org>
Commit-Queue: Anders Hartvoll Ruud \<andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1076776}

Component: web-platform-tests → Layout
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/965dea266f14 [wpt PR 37225] - Improve performance of compute-kind-widget-no-fallback-props-001.html, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.