Open
Bug 1356825
(aom-startup-perf)
Opened 8 years ago
Updated 2 years ago
[meta] AddonManager startup is too slow
Categories
(Toolkit :: Add-ons Manager, enhancement, P3)
Toolkit
Add-ons Manager
Tracking
()
NEW
People
(Reporter: kmag, Unassigned)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
(Keywords: meta, perf, Whiteboard: , triaged [fxperf])
AddonManager startup is the biggest single chunk of time we spend in JS at startup. A lot of this is in the system add-on bootstrap code that run, but a lot of it is overhead in the AOM itself.
Updated•8 years ago
|
Whiteboard: [qf] → [qf:meta]
Reporter | ||
Updated•8 years ago
|
Component: WebExtensions: General → Add-ons Manager
Updated•8 years ago
|
Priority: -- → P1
Whiteboard: [qf:meta] → [qf:meta], triaged
Updated•8 years ago
|
Blocks: photon-startup
Updated•8 years ago
|
Blocks: webext-perf
Comment 1•8 years ago
|
||
Not sure if it's related, but if we could get a fast-path (or cache) of registered langpacks, we would save some time that we spend on language renegotiation that happens currently due to late registration of language resources.
Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Zibi Braniecki [:gandalf][:zibi] from comment #1)
> Not sure if it's related, but if we could get a fast-path (or cache) of
> registered langpacks, we would save some time that we spend on language
> renegotiation that happens currently due to late registration of language
> resources.
I'd have to profile to see how much that would help, but if it would, we could probably make it happen after bug 1358846 lands.
Reporter | ||
Updated•8 years ago
|
Alias: aom-startup-perf
Updated•7 years ago
|
Whiteboard: [qf:meta], triaged → [qf:meta], triaged [fxperf]
Comment 3•7 years ago
|
||
https://perfht.ml/2BHa7nQ shows ~2.4s spent for add-on manager startup on a cold startup profile on a slow machine with a nightly from 2018-02-13. Hopefully this gives ideas about where there's still room for improvement.
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to Florian Quèze [:florian] from comment #3)
> https://perfht.ml/2BHa7nQ shows ~2.4s spent for add-on manager startup on a
> cold startup profile on a slow machine with a nightly from 2018-02-13.
> Hopefully this gives ideas about where there's still room for improvement.
The vast majority of this is still from system add-ons, with the Form Auto-fill and Pocket being by far the worst.
Comment 7•5 years ago
|
||
This also affects GeckoView. During GeckoView startup we spend 260ms in AddonManager startup (on a Moto G5). This code is on the critical path during the "App link" startup scenario - it delays the initial page load.
Profiles: https://perfht.ml/2QtHocL (0.4ms interval) / https://perfht.ml/2xSYRFj (5ms interval - less information, more realistic timings)
Blocks: GeckoView_Startup
Updated•3 years ago
|
Performance Impact: --- → ?
Whiteboard: [qf:meta], triaged [fxperf] → , triaged [fxperf]
Updated•3 years ago
|
Performance Impact: ? → ---
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•