DAMP Perf regression in inspector cold open test (+9%)
Categories
(DevTools :: Inspector: Compatibility, task, P2)
Tracking
(firefox71 fixed, firefox72 fixed)
People
(Reporter: jdescottes, Assigned: daisuke)
References
Details
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
77.09 KB,
image/png
|
Details |
Performance regression from Bug 1587690.
The changes that landed in Bug 1587690 introduced a 25% increase in the total number of characters loaded for the inspector, and a 9% slowdown on first open.
In particular the reducer should probably introduce lazy loading, and stop instantiating MDNCompatibility on load.
Reporter | ||
Comment 1•6 years ago
|
||
Hi Daisuke, do you want to take a look at this performance regression? It would be nice to uplift the fix, since we just missed the merge.
Thanks!
Assignee | ||
Comment 2•6 years ago
|
||
Thank you very much for letting me know, Julian!
Let me take a look!
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Comment 5•6 years ago
|
||
bugherder |
Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 9103433 [details]
Bug 1590003: Lazily load the compatibility lib and the dataset. r?jdescottes
Beta/Release Uplift Approval Request
- User impact if declined: DevTools' initial booting will take time a bit.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This patch changed only a way to load the data diagnosis. And this affects only DevTools.
- String changes made/needed:
Reporter | ||
Comment 7•6 years ago
|
||
Thanks for the fix Daisuke!
Just wanted to mention that we can already see on the performance dashboard that the performance regression has been fixed on inspector cold open:
https://firefox-dev.tools/performance-dashboard/tools/inspector.html?days=14&filterstddev=true&ignoreFlags=true
Comment 8•6 years ago
|
||
Comment on attachment 9103433 [details]
Bug 1590003: Lazily load the compatibility lib and the dataset. r?jdescottes
Low risk perf fix in devtools confirmed by our perf automation, uplift approved for 71 beta 5, thanks!
Comment 9•6 years ago
|
||
bugherder uplift |
Description
•