Closed Bug 2069964 Opened 2 months ago Closed 2 months ago

97.65 - 3.69% damp browser-toolbox.inspector-ready.DAMP + 3 more (Linux, Windows) regression on Wed September 2 2026

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(firefox-esr140 unaffected, firefox-esr153 unaffected, firefox155 unaffected, firefox156 unaffected, firefox157 fixed)

RESOLVED FIXED
157 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox155 --- unaffected
firefox156 --- unaffected
firefox157 --- fixed

People

(Reporter: performance-sheriff-bot, Assigned: jdescottes)

References

(Blocks 1 open bug, Regression)

Details

(4 keywords)

Attachments

(1 external file)

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

Please acknowledge, and begin investigating this alert within 3 business days, or the patch(es) may be backed out in accordance with our regression policy.

Regression Test Platform Options Absolute values [old vs new]
98% damp browser-toolbox.inspector-ready.DAMP (doc) windows11-64-24h2-shippable e10s fission stylo webrender 294.82 ms -> 582.71 ms
95% damp browser-toolbox.inspector-ready.DAMP (doc) linux2404-64-shippable e10s fission stylo webrender 517.80 ms -> 1,010.08 ms
8% damp complicated.inspector.open.DAMP (doc) linux1804-64-shippable-qr e10s fission stylo webrender 483.74 ms -> 520.75 ms
4% damp browser-toolbox.styleeditor-ready.DAMP (doc) windows11-64-24h2-shippable e10s fission stylo webrender 385.87 ms -> 400.10 ms
Improvement Test Platform Options Absolute values [old vs new]
36% damp browser-toolbox.webconsole-ready.DAMP (doc) linux2404-64-shippable e10s fission stylo webrender 541.17 ms -> 348.55 ms
33% damp browser-toolbox.webconsole-ready.DAMP (doc) windows11-64-24h2-shippable e10s fission stylo webrender 393.05 ms -> 262.39 ms
7% damp simple.inspector.reload.DAMP (doc) windows11-64-24h2-shippable e10s fission stylo webrender 54.81 ms -> 50.83 ms

Support & Actionable Steps

For questions, please contact afinder@mozilla.com. You can also find help on Slack (#perf-help) or Matrix (#perftest).

Action guide details:

Flags: needinfo?(jdescottes)

Set release status flags based on info from the regressing bug 2066014

Investigating. We have modified a bit the inspector initialization to make sure we have a selection before initializing some bits of the UI.

When looking at damp complicated.inspector.open.DAMP (not the biggest regression, but this one has relevant screenshots whereas the browser toolbox one doesn't), I can see that before the patch, the measure would finish while the inspector ruleview remained blank for several hundreds of ms. You can see that here, compared to a profile with the patch here. So that explains part of the issue: the full inspector startup is not slower, but the test was only measuring the markupview startup which is now closer to the ruleview startup.

That being said, the bigger browser-toolbox regression might be slightly different, because we seem to have a browser-toolbox-only codepath for handling root node.

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

Also break the coupling between ruleview/computedview and stylechangetracker.
This allows to instantiate the stylechangetracker later, which avoids firing too many concurrent RDP requests.
In any case this coupling was fragile, removing it is a step in the right direction.

The Browser Toolbox init path in particular might trigger some of the initialization logic twice,
adding a guard to avoid this.

Finally, the last UI initialization steps move back to the init() but after a promise which is going to be
resolved on first node selection. Easier to follow that my previous patch I believe.

Severity: -- → S3
Priority: -- → P2
Pushed by jdescottes@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b92cbb7385f4 https://hg.mozilla.org/integration/autoland/rev/841c602ece99 [devtools] Reorder inspector init to avoid regressing markupview init r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
Blocks: 2071790
Regressions: 2072120
QA Whiteboard: [qa-triage-done-c158/b157]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: