Omnijar comes to Thunderbird

Recently Firefox implemented something called omnijar to help with its startup performance – as of today, this has now come to Thunderbird trunk (3.3a2pre) nightly builds.

For those who don’t know what omnijar is, it is basically putting as many of the application files as possible into one jar file. So on start-up, less disk I/O is needed and the jar is decompressed in memory, hence resulting in a faster start-up.

More details about this can be found on the devmo page, and on the blog posts from when Firefox implemented it.

From some non-scientific1 performance measurements that I’ve done, I found that before omnijar, Thunderbird trunk had regressed in its start-up time compared to Thunderbird 3.1.x – I believe that this is due to the previous switch we made from static to libxul style builds, and some possible other known regressions on trunk.

The good news is, that on my measurements the switch to omnijar puts our start-up time back to the same as Thunderbird 3.1.x. Whilst I’d have liked it to be even faster, getting back to where we were is still good. We’ll be keeping an eye on the regressions and looking out for further ways to improve start-up performance before the final release of Thunderbird that comes off of trunk.

For developers, the main thing to be aware of is that Thunderbird trunk builds now default to “flat” chrome, rather than “jar”. More discussion on this can be found on the tb-planning thread.

1 No I didn’t use a stopwatch. I did use my pre-existing profiles, a hacked up extension created a while ago based on an idea from Talos and the two laptops I had available to me.

2 thoughts on “Omnijar comes to Thunderbird”

Comments are closed.