Closed Bug 1508562 Opened 6 years ago Closed 5 years ago

2.68 - 4.1% about_preferences_basic (linux64, osx-10-10, windows10-64, windows10-64-qr, windows7-32) regression on push 6a9f15fb809da3bed50ede05e663537c44075778 (Mon Nov 19 2018)

Categories

(Firefox :: Settings UI, defect, P1)

defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox-esr60 --- unaffected
firefox63 --- unaffected
firefox64 --- unaffected
firefox65 + wontfix
firefox66 + wontfix

People

(Reporter: igoldan, Assigned: johannh)

References

Details

(Keywords: perf, regression, talos-regression, Whiteboard: [privacy65])

Talos has detected a Firefox performance regression from push:

https://hg.mozilla.org/integration/autoland/pushloghtml?changeset=6a9f15fb809da3bed50ede05e663537c44075778

As author of one of the patches included in that push, we need your help to address this regression.

Regressions:

  4%  about_preferences_basic linux64 opt e10s stylo             148.71 -> 154.81
  4%  about_preferences_basic windows7-32 opt e10s stylo         138.03 -> 143.57
  4%  about_preferences_basic windows10-64 opt e10s stylo        139.11 -> 144.45
  4%  about_preferences_basic windows10-64-qr opt e10s stylo     139.08 -> 143.99
  3%  about_preferences_basic osx-10-10 opt e10s stylo           207.52 -> 214.27
  3%  about_preferences_basic windows7-32 pgo e10s stylo         125.55 -> 128.91


You can find links to graphs and comparison views for each of the above tests at: https://treeherder.mozilla.org/perf.html#/alerts?id=17663

On the page above you can see an alert for each affected platform as well as a link to a graph showing the history of scores for this test. There is also a link to a treeherder page showing the Talos jobs in a pushlog format.

To learn more about the regressing test(s), please see: https://wiki.mozilla.org/Performance_sheriffing/Talos/Tests

For information on reproducing and debugging the regression, either on try or locally, see: https://wiki.mozilla.org/Performance_sheriffing/Talos/Running

*** Please let us know your plans within 3 business days, or the offending patch(es) will be backed out! ***

Our wiki page outlines the common responses and expectations: https://wiki.mozilla.org/Performance_sheriffing/Talos/RegressionBugsHandling
Component: General → Preferences
Product: Testing → Firefox
Flags: needinfo?(ewright)
I'll soon post the Gecko profiles.
Thanks, forwarding the needinfo to johannh to make the call on this.
Flags: needinfo?(ewright) → needinfo?(jhofmann)
Priority: -- → P3
Thanks to Ehsan's help with correctly understanding those profiles we may have a chance at fixing (and potentially improving) perf here. The main culprit seems to be this call to .focus() https://searchfox.org/mozilla-central/rev/876022232b15425bb9efde189caf747823b39567/browser/components/preferences/in-content/findInPage.js#28 which causes a full XUL layout and seems to be getting slower and slower the more XUL we add to this file.

I'm going to try and remove it in favor of an html input with an autocomplete tag and do a talos run. Local profiler results are promising: https://perfht.ml/2FBTygT
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Flags: needinfo?(jhofmann)
Priority: P3 → P1
Whiteboard: [privacy65]
Any updates here? Also :johannh, if you filed a separate bug for this issue, please link it here.
Flags: needinfo?(jhofmann)
We've decided to accept this regression. We need the UI changes that this patch brought, and the negative effect is small enough to accept.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX

I'm still planning to do some follow up work to improve about:preferences perf, though. Not a clear timeline yet, but I will reference this bug.

Flags: needinfo?(jhofmann)
You need to log in before you can comment on or make changes to this bug.