Closed Bug 1780324 Opened 2 years ago Closed 2 years ago

Protocol JS modules are loaded unnecessarily

Categories

(MailNews Core :: General, defect)

defect

Tracking

(thunderbird_esr102 wontfix)

RESOLVED FIXED
104 Branch
Tracking Status
thunderbird_esr102 --- wontfix

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: perf, perf:startup)

Attachments

(1 file)

All of the modules for the JS versions of the mail protocols are loaded at start-up, even if they are then unused. This is a waste of time.

Moves the import of the modules into the lazy factory, and tests that they aren't loaded during a simple start-up that doesn't need them.
The POP3 service still gets started (by pop3Download.jsm) but I will look at that later.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2a08a4be233c
Load mail protocol JS modules only when required. r=rnons

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

Attachment

General

Created:
Updated:
Size: