Jemalloc comes to Thunderbird on Windows

For a while now I’ve had a task on my plate to enable jemalloc for Thunderbird on Windows builds, after confirming it doesn’t regress performance.

A few weeks ago, I managed to finish writing a start-up performance test (although still run manually) for Thunderbird, and with thanks to a couple of volunteers, start-up speed showed a reduction of about 2-3% for a warm start.

Our bloat tests (which are currently quite simple) showed slightly reduced allocations. Although not as definitive as I would have liked, knowing the improvements that jemalloc helped make with memory management on Firefox it should be a great bonus to Thunderbird. I think the main reason it didn’t show much of an improvement is that our bloat tests are currently quite limited and short-running; Over a longer session a bigger improvement should be seen.

We finally pushed the patch to enable jemalloc last Friday, so Windows nightly users should already be running with it, and it will be included in Thunderbird 3 beta 2. This should be (at least) a small performance bonus for Windows users.

Thunderbird 3.0x Windows Nightly users – update warning

Just a warning to Thunderbird Windows Nightly Users – if you happen to have updated in the last half-hour or so, you may have got a 3.1a1pre build, rather than a 3.0b2pre build.

As of a couple of minutes ago, we’ve disabled the updates for the time being, so you will get “Failed (unknown reason)”.

We’re working on resolving the issue and hope to have it sorted out soon.

UPDATE: We’ve fixed the issue so 3.0b2pre builds will continue to update to 3.0b2pre builds. The 3.1a1pre builds still won’t update due to some other issues that we are currently resolving – I’ll blog more about this when we get them running.