Chat core start-up takes a very long time, blocks Thunderbird start-up
Categories
(Chat Core :: General, defect)
Tracking
(thunderbird_esr102 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | fixed |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Blocks 1 open bug)
Details
(Keywords: perf, perf:startup)
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
7.21 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
By commenting out the auth prompt in chatHandler.jsm, the time taken from Thunderbird start-up to first paint drops from 4.1s to 1.5s, on my test profile.
This code looks like it starts everything in chat, which is fine, but we need to move it so it's not blocking the UI.
Assignee | ||
Comment 1•3 years ago
|
||
The current method of running this code inside a password prompt causes the UI thread to wait until Chat is initialised, causing a major delay in painting the program on the screen.
And it appears to no longer be required. At least one other thing causes a primary password prompt at start-up, and even if that is cancelled calling the login service functions bring up the prompt.
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/d2810b742e64
Initialising the Chat core after the first window loads. r=freaktechnik
Assignee | ||
Comment 3•3 years ago
|
||
We should take this one to ESR, it's such a big improvement. But not before it gets a good workout on beta.
Comment 4•2 years ago
|
||
Comment on attachment 9286194 [details]
Bug 1780328 - Initialising the Chat core after the first window loads. r=freaktechnik
[Triage Comment]
Approved for esr102
It's been on 104 for a month, so should be solid.
Assignee | ||
Comment 6•2 years ago
|
||
Comment on attachment 9290512 [details] [diff] [review]
1780328-esr102.patch
LGTM.
Comment 7•2 years ago
|
||
bugherder uplift |
Thunderbird 102.2.0:
https://hg.mozilla.org/releases/comm-esr102/rev/5aeb819064ac
Description
•