Closed Bug 1664697 Opened 4 years ago Closed 4 years ago

Lazy load modules and l10n in Enigmail jsm files

Categories

(MailNews Core :: Security: OpenPGP, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird82 wontfix)

RESOLVED FIXED
83 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird82 --- wontfix

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

(Keywords: memory-footprint, perf)

Attachments

(1 file)

A lot of Enigmail files don't need to be loaded on startup and can be avoided until they're actually used.

Additionally, in may cases we can avoid loading Fluent l10n until it is actually used. On my machine this saves a few ms on startup.

This is the first of a few bugs to delay loading Enigmail files until necessary.

Note, in this bug I'm not addressing EnigmailLazy as that's covered by bug 1633726.

Blocks: 1633726
Blocks: 1664698
Depends on: 1664643

Depends on D90026

Status: NEW → ASSIGNED
Blocks: 1595318

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/comm-central/rev/ba91e46bd95c
Change Enigmail jsm files to lazy-load modules. r=kaie

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: