Closed Bug 1858468 Opened 9 months ago Closed 8 months ago

Don't compute custom properties twice inside links.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

No description provided.

This matches the behavior of other browsers (in fact, I filed 1 about
it long time ago).

This avoids a bunch of overhead in some speedometer subtests. Makes me a
bit sad because I still think our approach is slightly more correct per
spec, but not worth the performance cost.

Blocks: 1859385
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e136cc989327
Don't compute custom properties twice inside links. r=dshin
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Whiteboard: [sp3]

(In reply to Sebastian Hengst [:aryx] (needinfo me if it's about an intermittent or backout) from comment #4)

https://hg.mozilla.org/mozilla-central/rev/e136cc989327

== Change summary for alert #40023 (as of Mon, 23 Oct 2023 23:05:57 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
14% perf_reftest_singletons style-attr-1.html windows10-64-shippable-qr e10s fission stylo webrender 4.08 -> 3.52
10% perf_reftest_singletons style-attr-1.html windows10-64-shippable-qr e10s fission stylo webrender 4.01 -> 3.62

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40023

== Change summary for alert #40024 (as of Mon, 23 Oct 2023 23:29:16 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
17% perf_reftest style-attr-1.html windows10-64-shippable-qr e10s fission stylo webrender 2.93 -> 2.43
16% perf_reftest style-attr-1.html windows10-64-shippable-qr e10s fission stylo webrender 2.93 -> 2.48

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40024

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: