Closed Bug 1907320 Opened 7 months ago Closed 7 months ago

Allow style sharing on elements that specify transitions / animations.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Keywords: perf-alert, Whiteboard: [sp3])

Attachments

(1 file)

Most styles that specify transitions don't actually have a transition
running at the very same time, and we can check for that in the cache
already.

We need to avoid reusing-by-rule-node for @starting-style rules, but
that's fine because that's effectively what already happened before this
change, due to the check we're removing (we only resolve @starting-style
when we're about to maybe-start a transition).

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Blocks: speedometer3
Whiteboard: [sp3]
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf8b2df49bf0 Allow sharing styles that specify transitions / animations. r=firefox-style-system-reviewers,layout-reviewers,boris
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

(In reply to Pulsebot from comment #2)

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf8b2df49bf0
Allow sharing styles that specify transitions / animations.
r=firefox-style-system-reviewers,layout-reviewers,boris

Perfherder has detected a browsertime performance change from push cf8b2df49bf0901b08109fe6f4d5ba4c178c1a0f.

Improvements:

Ratio Test Platform Options Absolute values (old vs new) Performance Profiles
5% speedometer React-TodoMVC/CompletingAllItems/Async linux1804-64-shippable-qr fission webrender 3.08 -> 2.92 Before/After
3% speedometer3 TodoMVC-Svelte-Complex-DOM/Adding100Items/Async macosx1400-64-shippable-qr fission webrender 4.07 -> 3.93 Before/After
3% speedometer Flight-TodoMVC/CompletingAllItems/Async linux1804-64-shippable-qr fission webrender 4.22 -> 4.08 Before/After
3% speedometer3 TodoMVC-Preact-Complex-DOM/total macosx1400-64-shippable-qr fission webrender 11.63 -> 11.34 Before/After
2% speedometer Inferno-TodoMVC/Adding100Items windows11-64-shippable-qr fission webrender 9.72 -> 9.52 Before/After

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 1205

For more information on performance sheriffing please see our FAQ.

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: