Closed Bug 1852584 Opened 1 year ago Closed 1 year ago

196.83 - 15.84% tp5o_scroll / tp5o_webext responsiveness + 3 more (Linux) regression on Tue September 5 2023

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- unaffected
firefox119 + fixed

People

(Reporter: aglavic, Assigned: emilio)

References

(Regression)

Details

(4 keywords)

Attachments

(1 file)

Perfherder has detected a talos performance regression from push a7ce0ac3a970b859d080e757b733ada1001c5328. As author of one of the patches included in that push, we need your help to address this regression.

Regressions:

Ratio Test Platform Options Absolute values (old vs new)
197% tp5o_scroll linux1804-64-shippable-qr e10s fission stylo webrender-sw 2.04 -> 6.07
28% tp5o_scroll linux1804-64-shippable-qr e10s fission stylo webrender 2.86 -> 3.67
20% tp5o_webext responsiveness linux1804-64-shippable-qr e10s fission stylo webrender-sw 3.38 -> 4.06
17% twinopen ext+twinopen:twinopen.html linux1804-64-shippable-qr e10s fission stylo webrender-sw 121.21 -> 142.35
16% tp5o_webext responsiveness linux1804-64-shippable-qr e10s fission stylo webrender-sw 3.43 -> 3.97

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests. Please follow our guide to handling regression bugs and let us know your plans within 3 business days, or the offending patch(es) may be backed out in accordance with our regression policy.

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

For more information on performance sheriffing please see our FAQ.

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Status: NEW → ASSIGNED

Glenn, do you know why a clip in the parent process regresses performance so much? Any hints for how to tackle this / best implement this?

Given this and the backdrop-filter correctness issue, we should probably disable for now, but would be nice to fix this properly.

Flags: needinfo?(emilio) → needinfo?(gwatson)

Specially for software webrender, this seems like a massive regression :/

Lee, in case you can take a look, any hints?

Flags: needinfo?(lsalzman)
Duplicate of this bug: 1852583
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d716a9757780 Disable rounded bottom corners for performance regressions for now. r=stransky

I don't know what would cause a regression like that, is it possible to get a profile with/without pasted?

My initial guess is that once we have rounded corners on the parent we no longer detect that the background tiles are occluded, and that we probably then composite a lot more pixels, which would especially hurt SWGL. That's just a guess though. It's probably something we can mitigate with slightly smarter picture caching logic.

Flags: needinfo?(gwatson)

Or perhaps that we treat all the background tiles as transparent, once we see that there is a clip mask on them, I wonder.

Oh, I just also noticed, looking at something unrelated (https://bugzilla.mozilla.org/show_bug.cgi?id=1849680) that this causes google maps to not get a compositor surface on Linux, which will also hurt performance on a number of pages. I'll be working to support this use case in the linked bug.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

== Change summary for alert #39591 (as of Mon, 18 Sep 2023 18:00:55 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
67% tp5o_scroll linux1804-64-shippable-qr e10s fission stylo webrender-sw 6.11 -> 2.02
67% tp5o_scroll linux1804-64-shippable-qr e10s fission stylo webrender-sw 6.09 -> 2.03
25% tp5o_scroll linux1804-64-shippable-qr e10s fission stylo webrender 3.61 -> 2.71
19% tp5o_webext responsiveness linux1804-64-shippable-qr e10s fission stylo webrender-sw 4.30 -> 3.48
13% twinopen ext+twinopen:twinopen.html linux1804-64-shippable-qr e10s fission stylo webrender-sw 142.84 -> 123.75

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=39591(In reply to Pulsebot from comment #7)

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d716a9757780
Disable rounded bottom corners for performance regressions for now.
r=stransky

Your changes look to have reverted the regression!

See Also: → 1854351
Flags: needinfo?(lsalzman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: