Hi,
I’d suggest to enable lzo compression for the thunderbird snap to improve startup times. Thanks!
Hi,
I’d suggest to enable lzo compression for the thunderbird snap to improve startup times. Thanks!
Hi @l3mur123, that’s a good suggestion, but in the wrong place. You need to contact the snap maintainers:
$ snap info thunderbird | grep contact
contact: https://launchpad.net/distros/ubuntu/+source/thunderbird
Hi @alan_g, thanks for the suggestion! I actually did this first (https://answers.launchpad.net/ubuntu/+source/thunderbird/+question/699340) and was re-directed here. So it seems we’re in a loop.
Huh! That is frustrating. Let me see if I can track down who (if anyone) maintains the snap recipe…
Hey,
Thanks for the suggestion. Did you do any measurement on the impact on startup times using lzo would have or are just assuming it would have one?
What’s wrong with the contact information? Launchpad is the right place to report bugs and we monitor those, it’s just that the user sent a support request there…
If that’s the case, then the response they got needs improvement.
Hi,
not for Thunderbird specifically. For Onlyoffice Desktopeditors, it had a great effect, so I was assuming it would be similar to Tb.
Some numbers:
$ etrace analyze-snap -s -e --window-name="Account Setup - Mozilla Thunderbird" thunderbird
original snap size: 74.76 MiB
original compression format is xz
content snap slot dependencies: [gnome-3-38-2004 gtk-common-themes gtk-theme-traditionalhumanized]
worst case performance:
average time to display: 9.085122869s
standard deviation for time to display: 484.141601ms
best case performance:
average time to display: 2.560798974s
standard deviation for time to display: 14.948602ms
worst case performance with lzo compression:
average time to display: 4.858175076s
standard deviation for time to display: 469.955371ms
average time to display percent change: -46.53%
best case performance with lzo compression:
average time to display: 2.550980015s
standard deviation for time to display: 12.18343ms
average time to display percent change: -0.38%
lzo snap size: 97.22 MiB (change of +30.04%)
Thanks for the analysis. I assume “worst case” is the first start after booting. I’d consider 50% improvement there meaningful for the experience.
That is the cold start, which users usually associate with “snaps are slow”. That’s a very meaningful difference, I believe.
Thanks for the details, the snap has been switched to lzo now. The current beta channel version has the new compression and a candidate build is started