startup in AddonManager.sys.mjs takes 54ms during applink startup
Categories
(Toolkit :: Add-ons Manager, defect, P3)
Tracking
()
People
(Reporter: jlink, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
In this profile of the applink startup newssite test, it can be seen that startup() in AddonManager.sys.mjs is taking 54ms of applink start-up on a Google Pixel 6.
The profile also shows 5.6ms spent in AddonManager.sys.mjs right before startup() as well but I'm not entirely sure how to attribute that.
Comment 1•2 months ago
|
||
The profile also shows 5.6ms spent in AddonManager.sys.mjs right before startup() as well but I'm not entirely sure how to attribute that.
Your profiler link limits the view to "Script"; if you select "All frames", it is apparent that those 5.6ms are spent on compiling/loading AddonManager.sys.mjs and its dependencies.
The only really actionable part out of the 54ms (which includes profiler overhead btw) that I see is:
- 6.2 ms from loading remote-settings.js. This will be loaded by something in Firefox later, but it does not have to block the startup path. We can make this lazily initialized (past
brower-delayed-startup-finished
): https://searchfox.org/mozilla-central/rev/1d3c8311925d252ae79c223a53b65e667c810805/toolkit/mozapps/extensions/AddonManager.sys.mjs#4693-4698
To check what else we can do, we need an answer to https://bugzilla.mozilla.org/show_bug.cgi?id=1980558#c3
Comment 2•2 months ago
|
||
The severity field is not set for this bug.
:zombie, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•20 days ago
|
||
bug 1983550 is actionable; nothing else is here yet, so we're not prioritizing any work in this area at this time.
Description
•