Open Bug 1364777 Opened 7 years ago Updated 2 years ago

Use a shared Services-like object for lazy imports

Categories

(WebExtensions :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: kmag, Unassigned)

References

(Blocks 1 open bug)

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...
Priority: -- → P2
Whiteboard: [triaged]
Assignee: kmaglione+bmo → aswan
Assignee: aswan → nobody
Priority: P2 → P3
Product: Toolkit → WebExtensions
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.