Closed Bug 1783585 Opened 2 years ago Closed 2 years ago

Delay most calendar database read operations until after Thunderbird start-up

Categories

(Calendar :: General, enhancement)

enhancement

Tracking

(thunderbird_esr102 wontfix)

RESOLVED FIXED
106 Branch
Tracking Status
thunderbird_esr102 --- wontfix

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: perf, perf:startup)

Attachments

(1 file)

When Thunderbird starts, it reads from the calendar databases. A lot. In this bug I propose we delay reading events/tasks from the databases until after Thunderbird has finished starting up, and force operations using the database to wait. The effect on start-up time is marginal, but it does reduce the amount of context-switching that has to happen.

Hopefully in future we can extract the things that want to read the database and not do them at all until after start-up. But this is a good first step.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3f9bfbd74b0a
Delay most calendar database read operations until after Thunderbird start-up. r=mkmelin

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

Attachment

General

Created:
Updated:
Size: