Hello,

Looking through the list of components in the linked forum post, a large number 
of the new ones are related to FxA and new Sync. A lot of that code uses 
Cu.import exclusively instead of defineLazyModuleGetter when it would help 
performance.  I already started with bug 988051 to import hawkrequest.js and 
Credentials.jsm lazily. Anyone who knows the code more want to do an audit?

Thanks,
Matthew N.
:MattN

----- Forwarded Message -----
From: "Nicholas Nethercote" <[email protected]>
To: "firefox-dev" <[email protected]>
Sent: Tuesday, March 25, 2014 11:45:41 AM
Subject: Too many system compartments

Hi,

Those of you who read the dev-platform list will have already seen
https://groups.google.com/forum/#!topic/mozilla.dev.platform/sAuhWQOAWic,
where I mentioned how the number of system compartments created at
startup has increased from 150 to 230 in the past year, and that a lot
of them look like they could be lazily loaded.

It was suggested to me that I email firefox-dev as well, since some of
the people who would know about these compartments might not read
dev-platform. Hence this email. Thanks!

Nick
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev

Reply via email to