Open Bug 487832 (tb-startupperf) Opened 15 years ago Updated 4 months ago

[meta] Thunderbird startup performance issues

Categories

(Thunderbird :: General, defect)

x86
All
defect

Tracking

(Not tracked)

People

(Reporter: wsmwk, Unassigned)

References

(Depends on 13 open bugs, Blocks 2 open bugs, )

Details

(Keywords: meta, perf)

      No description provided.
Keywords: meta
Depends on: 480848
Depends on: 462862
Depends on: 527592
Depends on: 604788
Focusing this bug on Thunderbird startup performance.

Tying to:

* Bug 527592 - warm start about 33 % slower than with Thunderbird 2.0

* Bug 604788 - Thunderbird takes several seconds to startup (maybe libxul related)

* Bug 462862 - Implement start up performance tests for Thunderbird 

* Bug 441710 - Thunderbird compose and UI occasionally freezes/slow for 3-60 seconds unexpectedly and continually - caused by calendar/lightning issues [meta] - because although most are not startup (except 569555) some can easily impact the early time after startup and thus the startup time as perceived by the user.
** Bug 569555 - TB with lightning unresponsive at start, with high CPU

* Bug 163964 - add option to speedup imap startup by skipping folder discovery and other niceties

* And also recent FIXED bugs
** Bug 427614 - increased memory usage on TB startup of 100-120MB shortly after profile manager, and 100% cpu for several seconds
** Bug 481065 - local folder db's opened on startup


In bug 533441 rs's notes there are many core Mac startup improvements on trunk that aren't on branch.  Many of them are mentioned in the wiki and blog posts noted below.  (and the same can be said of all OS) 


Core:

* there's a lot to "get for free" from core and so was tempted to add core bugs via meta Bug 447581 - startup performance. But some percentage is firefox specific and the bugmail may irritate watchers of this bug. So for now, noting there is mucho information worth reading in that bug and in related wiki [1], and singling out just a few bugs to block: 
** Bug 520309 - startup cache - replacement for fastload cache - just because of it's numerous related bugs. 
** Bug 506431 - UTF8 to UTF16 conversion showing up in startup profiles
** Bug 91242 - CSS parsing is 5.5% of startup time
** there may be an add-on manager bug or two worth calling out amongst Bug 461973 - Extension manager API rewrite tracking bug

[1] See Bug 447581 and related blog updates at http://autonome.wordpress.com/tag/startup/ whose current state is summarized at https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements   


If I have missed any major points or bugs, please adjust this bug.
Depends on: 481065, 447581, 533441, 441710, 91242
Keywords: perf
OS: Windows Vista → All
Summary: [meta] Thunderbird startup issues → [meta] Thunderbird startup performance issues
Depends on: 588952
Depends on: 163964
Bug 600713 - Cache system font information in startupcache (affects only win7?) (seems not to be in bug 447581 's dependency list)
Depends on: 600713
Depends on: 412914
Depends on: 462280
Depends on: 630645
Depends on: 467083
Depends on: 502936
Depends on: 569555
Depends on: 668869
Depends on: 671613
Alias: tb-startupperf
related Bug 840410 Add Start-up Performance Reporting
Depends on: 836207
See Also: → 840410
Depends on: 52243
See Also: → 899913
Depends on: 65086
Depends on: 929281
Depends on: 1015120, 1084276, 1116196
Blocks: 899913
See Also: 899913
Depends on: 685884
Depends on: 1227559
Depends on: 1245584
Depends on: 1253235
Depends on: 257037
Depends on: 1312813
Depends on: 562965
Depends on: 1406499
Depends on: 1543953
Depends on: 63369

Hi Wayne,
Would you add Bug 1502923 as blocking this Bug 487832 (tb-startupperf) [meta] Thunderbird startup performance issues
I believe it is related...
Regards,

Depends on: 1502923
Depends on: 1479320
Depends on: 1567055
Depends on: 1568723
Depends on: 68174
Depends on: 1569513

Hello, I don't know if it is the best place to post this but I make a try.
I noticed on my windows 8.1 x64 computer that TB 68 was much slower at startup than TB 60, for the first startup only.
Is there a tool to confirm this for Thunderbird?
Thanks.
Julien

ps : I opened a bug about this but I thought it was resolved by deleting the .msf files. In fact , no.

Flags: needinfo?(vseerror)

(In reply to Julien L. from comment #6)

Hello, I don't know if it is the best place to post this but I make a try.
I noticed on my windows 8.1 x64 computer that TB 68 was much slower at startup than TB 60, for the first startup only.
Is there a tool to confirm this for Thunderbird?

Not really

ps : I opened a bug about this but I thought it was resolved by deleting the .msf files. In fact , no.

You mean Bug 1590462 - The start-up of Thunderbird 68.1.1 is very slow. If that bug wasn't caused by signalspam, then comment there and we reopen it. If 1590462 was caused by signalspam, AND you can reproduce the startup slowness with signalspam disabled or removed, And reproduces in safe mode as described at bug 1590462 comment 3, then please file a new bug.

No need to comment further in this bug report

Flags: needinfo?(vseerror)

Moving Bug 447581 - [Core component] startup performance tracking bug [meta] from Depends on to See Also, because much of the Core items are small increments, but more importantly to clean up the dependency tree of this bug

No longer depends on: 447581
See Also: → 447581
Depends on: 1608653
Depends on: 1642292
Depends on: 1649103
Depends on: 1658026
Depends on: 1658032
Depends on: 1658112

I don't think this meets the blocking criteria in bug 564148 comment 1

No longer blocks: tb-enterprise
Depends on: 1659582
Depends on: 1660706
Depends on: 1660876
Blocks: 1608653
No longer depends on: 1608653
Depends on: 1664701

Wayne it's okay if found the bug describing the same problem but what is a solution right now for users?
Im as an user can not update my production version 45 still up because of all these bugs that not fixed before producation versu=ion and I do not understand why version of 45 is called production if they are de facto is still raw betas.
Sorry it's my opinion as a regular user.
It's very important that there such product as Thunderbird I read I know that company Mozilla thrown out it.
Can I suggest the fix for all this bugs?
Just make simple empty container and put inside top menu with tabs to install internal components:
Mail and put whole Thunderbird, Calendar and if user wants to install Lightning, Tasks based on Eisenhower Matrix principle, Notes as separate app, if user has to isntall a some new Password management / Wallet mechsnism, Market / Shopping (some thing like Grouppon) but no more than 7 / 8 tabs like main apps.
And all apps to launch independent by processing separate cores in our laptops..

Wayne it's okay if found the bug describing the same problem but what is a solution right now for users?

There are several issues as indicated in the list of blocking bugs - some of which are recently fixed, some being actively worked and hopefully fixed relatively soon, and some which won't happen quickly. In short there is not an immediate solution you can apply, except a) keep Thunderbird updated, b) use best practices for performance (especially on Windows machines where AV should not scan the Thunderbird profile), c) calendar users should minimize the number of and length of repeating tasks, and number of calendars.

Depends on: 1660907
Depends on: 1664700
Depends on: 1660898
Depends on: 1660904
Depends on: 1687207
Blocks: 1695407
No longer depends on: 467083
Depends on: 1719072
Depends on: 1731227
Depends on: 1780323
Depends on: 1780324
Depends on: 1780326, 1780325
Depends on: 1780328
Depends on: 1785967
Depends on: 1786457
Blocks: 1788549
Depends on: 1783585
Severity: normal → S3
Depends on: 1724343
Depends on: 1831213
No longer depends on: 52243
No longer depends on: 1786457
Depends on: 1747311
You need to log in before you can comment on or make changes to this bug.