Calendar views take a long time to load
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(thunderbird_esr102 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | wontfix |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Blocks 1 open bug)
Details
(Keywords: perf, perf:startup)
Attachments
(1 file)
Bug 1780326 - Do loading of calendar views only if/when they are displayed. r=#thunderbird-reviewers
(deleted),
text/x-phabricator-request
|
Details |
I've been running the profiler over start-up and discovered that the four calendar views each take a long time (okay, milliseconds) to load, and they do so even if the user never sees them. Given that the number of views actually looked at in a session probably averages less than one, we should avoid doing the slow parts unless we need to.
Assignee | ||
Comment 1•2 years ago
|
||
I've tried to do as little as possible here, to avoid potential side-effects, and because a complete rework of these views is planned.
Assignee | ||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Did you find out why the views are taking long? Can you share the profile?
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/177e090c6fbd
Do loading of calendar views only if/when they are displayed. r=mkmelin
Assignee | ||
Comment 4•2 years ago
|
||
It's just a lot of code, I think. I haven't looked too closely. Each custom element adds a lot more custom elements, and each of those has to be initialised.
Description
•