Closed
Bug 1320148
Opened 8 years ago
Closed 8 years ago
[meta] Toolbox startup performance
Categories
(DevTools :: General, defect, P3)
DevTools
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1320786
People
(Reporter: ochameau, Unassigned)
References
Details
(Keywords: meta)
Attachments
(1 file)
2.67 KB,
patch
|
Details | Diff | Splinter Review |
Just some random numbers about toolbox startup performances as I'm not sure we recently looked at it.
As of today, 21 modules are loaded during firefox startup.
331 modules to load to open the toolbox with the inspector.
3.2, 4.3, 4.0s to load against about:blank
0.8, 1.1, 0.9s just for gcli
392 modules with the console.
2.8, 2.9, 2.7s to load against about:blank
1.5, 1.3, 1.2s just for gcli
250 modules with the debugger.
3.4, 3.6, 4.7s to load against about:blank
0.8, 0.9, 1.0s just for gcli
Obviously module loading is an important cost center.
I quickly identified gcli as a performance issue by using the profiler and it is mosly because of it loading zillions of modules (about 64).
I measure the time to load a toolbox by looking at how much times gDevTools.showToolbox takes to resolves its promise, which is resolved when the tool's Panel.open resolves.
I probe gcli setup within toolbox.js in Toolbox._buildButtons where we call createRequisition, getCommandBarSpec and createButtons.
I would like to keep this bug as a meta bug for frontend performances, where we could study where are the existing slowness and open specific bugs once we identified something that could be tuned.
Reporter | ||
Comment 1•8 years ago
|
||
Here is how I logged the load times.
Reporter | ||
Comment 2•8 years ago
|
||
Keywords: meta
Priority: -- → P3
Summary: Toolbox startup performances → [meta] Toolbox startup performance
Reporter | ||
Comment 3•8 years ago
|
||
Reporter | ||
Comment 4•8 years ago
|
||
I forgot about this bug while filling bug 1320786... I'm going to use the newest.
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•