{"id":470,"date":"2010-12-15T15:35:33","date_gmt":"2010-12-15T15:35:33","guid":{"rendered":"http:\/\/ccgi.standard8.plus.com\/blog\/?p=470"},"modified":"2017-08-15T22:18:03","modified_gmt":"2017-08-15T21:18:03","slug":"omnijar-comes-to-thunderbird","status":"publish","type":"post","link":"https:\/\/thebanners.uk\/standard8\/2010\/12\/15\/omnijar-comes-to-thunderbird\/","title":{"rendered":"Omnijar comes to Thunderbird"},"content":{"rendered":"<p>Recently Firefox implemented something called omnijar to help with its startup performance &#8211; as of today, this has now come to Thunderbird trunk (3.3a2pre) <a href=\"http:\/\/ftp.mozilla.org\/pub\/mozilla.org\/thunderbird\/nightly\/latest-comm-central\/\">nightly builds<\/a>.<\/p>\n<p>For those who don&#8217;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.<\/p>\n<p>More details about this can be found on the <a href=\"https:\/\/developer.mozilla.org\/en\/About_omni.jar\">devmo page<\/a>, and on the <a href=\"http:\/\/blog.mozilla.com\/mwu\/2010\/08\/13\/omnijar-how-does-it-work\/\">blog<\/a> <a href=\"http:\/\/blog.mozilla.com\/tglek\/2010\/09\/14\/firefox-4-jar-jar-jar\/\">posts<\/a> from when Firefox implemented it.<\/p>\n<p>From some non-scientific<sup>1<\/sup> performance measurements that I&#8217;ve done, I found that before omnijar, Thunderbird trunk had regressed in its start-up time compared to Thunderbird 3.1.x &#8211; I believe that this is due to the previous switch we made from <a href=\"http:\/\/ccgi.standard8.plus.com\/blog\/archives\/426\">static to libxul style builds<\/a>, and some possible <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=618868\">other known regressions<\/a> on trunk.<\/p>\n<p>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&#8217;d have liked it to be even faster, getting back to where we were is still good. We&#8217;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.<\/p>\n<p>For developers, the main thing to be aware of is that Thunderbird trunk builds now default to &#8220;flat&#8221; chrome, rather than &#8220;jar&#8221;. More discussion on this can be found on the <a href=\"https:\/\/wiki.mozilla.org\/Thunderbird\/tb-planning\">tb-planning<\/a> <a href=\"http:\/\/groups.google.com\/group\/tb-planning\/browse_frm\/thread\/706e78688c3727cc#\">thread<\/a>.<\/p>\n<p><sup>1<\/sup> <small>No I didn&#8217;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.<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently Firefox implemented something called omnijar to help with its startup performance &#8211; as of today, this has now come to Thunderbird trunk (3.3a2pre) nightly builds. For those who don&#8217;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 &hellip; <a href=\"https:\/\/thebanners.uk\/standard8\/2010\/12\/15\/omnijar-comes-to-thunderbird\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Omnijar comes to Thunderbird&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[],"class_list":["post-470","post","type-post","status-publish","format-standard","hentry","category-mozilla","category-thunderbird"],"_links":{"self":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/comments?post=470"}],"version-history":[{"count":1,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/470\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/470\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/media?parent=470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/categories?post=470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/tags?post=470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}