Miscellaneous start-up performance improvements
Categories
(Thunderbird :: General, enhancement)
Tracking
(thunderbird_esr102 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | wontfix |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
(Keywords: perf, perf:startup)
Attachments
(7 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
I've got a number of patches for improving start-up performance. I don't think it's worth filing a bug for each so I'll stick them all in one bug, this one.
Assignee | ||
Comment 1•2 years ago
|
||
These two modules are loaded at profile-after-change to add some listeners/observers. AFAICT, none of the things they are listening for will happen this early, so we can initialise them later.
Assignee | ||
Comment 2•2 years ago
|
||
By delaying the start of the chat logger, we can prevent a number of modules from loading before the first window does.
Depends on D154026
Assignee | ||
Comment 3•2 years ago
|
||
These modules don't need to be loaded with the module that imports them. Some don't need loading at all.
Depends on D154027
Assignee | ||
Comment 4•2 years ago
|
||
I see no reason for this to start so early. Making this change plus some others means we can avoid loading all of the Gloda code until much later. Plus if chat is disabled we can avoid it altogether.
Depends on D154028
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D154029
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D154030
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D154031
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/17ad6ea84651 Stop loading mail notification modules at profile-after-change. r=mkmelin
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/fdf6a586175e Start the chat logger after the first window loads. r=freaktechnik https://hg.mozilla.org/comm-central/rev/8215c04fbfe3 Convert some module imports to lazy imports. r=mkmelin https://hg.mozilla.org/comm-central/rev/52e1ef6ec3f3 Delay starting Gloda IM indexing until after the first window loads. r=freaktechnik https://hg.mozilla.org/comm-central/rev/d8166ba9e8b9 Move Gloda constants to a separate module, part 1. r=mkmelin https://hg.mozilla.org/comm-central/rev/e697b1403810 Move Gloda constants to a separate module, part 2. r=mkmelin https://hg.mozilla.org/comm-central/rev/cbeeafe798f3 Move Gloda constants to a separate module, part 3. r=mkmelin
Assignee | ||
Comment 10•2 years ago
|
||
That's enough for now. I have some other things in mind but they can have another bug.
Description
•