Use a shared Services-like object for lazy imports

NEW
Unassigned

Status

()

Toolkit
WebExtensions: General
P2
normal
7 months ago
3 months ago

People

(Reporter: kmag, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [triaged])

We spend a significant amount of time at startup just in the huge number of defineLazyModuleGetter/defineLazyServiceGetter calls that we do in WebExtension code. A lot of those are repeated in several modules, so we could probably save a measurable amount of time by coalescing them into a shared Services-like object. Maybe call it WE, or Ext, or something...

Updated

7 months ago
Priority: -- → P2
Whiteboard: [triaged]

Updated

7 months ago
Assignee: kmaglione+bmo → aswan

Updated

3 months ago
Assignee: aswan → nobody
You need to log in before you can comment on or make changes to this bug.