Mark Banner's thoughts on Thunderbird, Mozilla, Bellringing and more.

Jemalloc comes to Thunderbird on Windows

February 17th, 2009 Posted in Mozilla, Thunderbird

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.

  1. 3 Responses to “Jemalloc comes to Thunderbird on Windows”

  2. By Tobias Fischer on Feb 17, 2009

    Enabeling jemalloc breaks Enigmail under some circumstances, see:

    But Patrick is going to fix this now. Thanks for enable jemalloc for TB and help to get this issue fixed for SeaMonkey too. :)

  3. By unknow on Feb 17, 2009

    Only for Windows user :-(
    And what´s about Thunderbird under Linux. Can we also expect any performance?

  4. By Standard8 on Feb 17, 2009

    @unknow: jemalloc has been enabled on Thunderbird Linux by default for quite a while now.

Sorry, comments for this entry are closed at this time.