Closed
Bug 1352541
Opened 8 years ago
Closed 8 years ago
Avoid loading extension .jsms when there are no extensions
Categories
(WebExtensions :: Untriaged, enhancement)
WebExtensions
Untriaged
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1317697
People
(Reporter: mccr8, Unassigned)
References
Details
In a fresh profile, it looks like we import 7 different .jsms in a content process:
resource://gre/modules/ExtensionContent.jsm
resource://gre/modules/ExtensionChild.jsm
resource://gre/modules/ExtensionCommon.jsm
resource://gre/modules/ExtensionUtils.jsm
resource://gre/modules/MessageChannel.jsm
resource://gre/modules/ExtensionManagement.jsm
resource://gre/modules/Schemas.jsm
With four content processes, and at about 30kb per .jsm compartment, that's around 840kb of memory. I looked through ExtensionContent.jsm, and it seems like it might not do anything useful if there are no extensions installed. It would be nice to avoid that overhead if we can, given that many users do not have extensions.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•