Open
Bug 1370658
Opened 8 years ago
Updated 2 years ago
Components.manager.addBootstrappedManifestLocation() can do main thread IO at startup
Categories
(Toolkit :: Add-ons Manager, enhancement, P3)
Toolkit
Add-ons Manager
Tracking
()
NEW
Performance Impact | low |
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: perf:startup)
https://searchfox.org/mozilla-central/rev/d441cb24482c2e5448accaf07379445059937080/toolkit/mozapps/extensions/internal/XPIProvider.jsm#4376
https://perfht.ml/2rRILXj
Note that this call is visible in the profile <https://searchfox.org/mozilla-central/source/xpcom/components/nsComponentManager.cpp#1909> but the nsComponentManagerImpl::AddBootstrappedManifestLocation() frame itself is for some reason invisible.
Updated•8 years ago
|
Flags: needinfo?(rhelmer)
Updated•8 years ago
|
Assignee: nobody → rhelmer
Flags: needinfo?(rhelmer)
Updated•7 years ago
|
Assignee: rhelmer → nobody
Updated•7 years ago
|
Whiteboard: [fxperf]
Updated•7 years ago
|
Priority: -- → P3
Comment 1•7 years ago
|
||
Hey kmag, how much of this was covered by bug 1363482? It looks like this should be WFM now, but I don't want to jump the gun on that.
Giving it [fxperf:p3] for now to at least get it out of triage.
Flags: needinfo?(kmaglione+bmo)
Whiteboard: [fxperf] → [fxperf:p3]
Comment 2•7 years ago
|
||
(In reply to Doug Thayer [:dthayer] from comment #1)
> Hey kmag, how much of this was covered by bug 1363482? It looks like this
> should be WFM now, but I don't want to jump the gun on that.
Unfortunately none of it was covered by bug 1363482. It would help with system add-ons if they were bundled in OmniJar, but they're currently not. And in unpacked local builds, where they're loaded from the filesystem. In release builds, for the moment anyway, it only helps with the handful of manifests that we bundle in omni.ja.
At this point, though, we should really just stop loading chrome manifests from bootstrapped extensions. Our system extensions can be updated to register things without them, and no other extensions need them.
Flags: needinfo?(kmaglione+bmo)
Updated•2 years ago
|
Severity: normal → S3
Comment 3•2 years ago
|
||
Florian, do we have any kind of telemetry or BHR input or other data to help establish the perf importance of this ticket?
Flags: needinfo?(florian)
Comment 4•2 years ago
|
||
Accidentally got the dependency relation the wrong way around.
Comment 5•2 years ago
|
||
We have some BHR reports for AddBootstrappedManifestLocation https://fqueze.github.io/hang-stats/#date=20230526&row=&filter=AddBootstrappedManifestLocation but only a few. I would say perf impact low.
You need to log in
before you can comment on or make changes to this bug.
Description
•