Closed Bug 895032 Opened 11 years ago Closed 5 years ago

Do not initialize addon-manager related components on startup if no addons are installed

Categories

(Firefox for Android Graveyard :: Add-on Manager, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: taras.mozilla, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 887824 shows that we spend a fair bit of time in addon manager stuff, we should skip it.
Blocks: 789193
https://blog.mozilla.org/addons/2011/06/21/firefox-4-add-on-users/ says 85% of Firefox 4 desktop users have an add-on. I'll look into getting updated numbers for FF and separate info for Android.
Irving, I remember you publishing a blog post about this recently, but I can't find the link. I think the conclusion was that not many Firefox for Android users have add-ons installed, so this bug could be a good perf win for us. Do you agree?
Flags: needinfo?(irving)
You're probably thinking of http://www.controlledflight.ca/2014/06/02/how-many-firefox-extensions-do-people-use/ The short answer is yes, we could refactor the Addon Manager and/or XPI Provider to load a lot less code at start up time. We still need to load a bit, to tell whether we need to load the rest. Exactly how much of a start up win we get depends on how much code we can separate out; I'll need to talk to Unfocused and maybe Mossop to work that out. There's also bug 1058899 that affects Fennec profiles that *do* have add-ons installed...
Flags: needinfo?(irving)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.