{"id":2903,"date":"2018-03-13T15:06:25","date_gmt":"2018-03-13T20:06:25","guid":{"rendered":"https:\/\/mikeconley.ca\/blog\/?p=2903"},"modified":"2023-12-20T16:25:10","modified_gmt":"2023-12-20T21:25:10","slug":"firefox-performance-update-3","status":"publish","type":"post","link":"https:\/\/mikeconley.ca\/blog\/2018\/03\/13\/firefox-performance-update-3\/","title":{"rendered":"Firefox Performance Update #3"},"content":{"rendered":"<p>Hi! I&#8217;ve got another slew of Firefox performance work to report today.<\/p>\n<p>Special thanks to the folks who <a href=\"https:\/\/goo.gl\/forms\/INfwBlBBUe3jrxI72\">submitted things through this form<\/a> to let me know about performance work that&#8217;s taken place recently! If you&#8217;ve seen something fixed lately that&#8217;ll likely have a positive impact on Firefox performance, <strong><a href=\"https:\/\/goo.gl\/forms\/INfwBlBBUe3jrxI72\">let me know about it!<\/a><\/strong><\/p>\n<p>So, without further ado, here are some of the folks who have made some nice improvements to Firefox performance lately. Thanks for making Firefox faster and better!<\/p>\n<ul>\n<li>Andrew Osmond <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=523950\">made it so that very long animated GIFs and APNGs<\/a> no longer consume ridiculous amounts of memory! Instead of holding all of the decoded frames in memory, the animation is streamed like a video. This should make <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/whimsycorn\/?src=search\">Whimsy users<\/a> very happy indeed.<\/li>\n<li>Matt Woodrow <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1439809\">got rid of an unnecessary hash table<\/a> that we were building when computing DisplayLists (which is part of painting). Earlier this month, Matt also <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1429932\">made it so that we don\u2019t unnecessarily build layers<\/a> if nothing on screen actually changed during an invalidation. For both bugs, this means Firefox is doing less work &#8211; and less work means getting pixels to the screen faster!<\/li>\n<li>Emilio Cobos \u00c1lvarez <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1427625\">made it so that we can style large text files<\/a> (for example, <a href=\"https:\/\/public-artifacts.taskcluster.net\/IRyXyVAyT5yMylJITj1rfg\/0\/public\/logs\/live_backing.log\">this log file<\/a>) much, much faster than before.<\/li>\n<li>D\u00e3o Gottwald <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1443453\">made it so that we only have to load some front-end CSS once<\/a> instead of multiple times in different scopes. He also <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1442651\">got rid of the tabbrowser XBL binding<\/a>, which <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1442651#c28\">resulted in some wins on our Talos performance testing benchmark for painting newly opened tabs<\/a>.<\/li>\n<li>Gijs Kruitbosch <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1370930\">got rid of some old, dead code<\/a> that we were running early during start-up for no good reason. Gijs also made it so that <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1439519\">Telemetry doesn\u2019t make us load the blocklist<\/a>. Finally, <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1371888\">he made it so that we\u2019re more likely to load the blocklist asynchronously rather than synchronously<\/a>. All of these should help reduce browser start time!<\/li>\n<li>Paolo Amadini <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1420939\">got rid of some synchronous layout flushes<\/a> that could be experienced when opening submenus within our animated menu panels.<\/li>\n<li>Ryan VanderMeulen <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1424281\">bumped our default Windows compiler to VS2017 15.6<\/a> for Firefox 61. Just switching has resulted in some benchmark improvements for our Windows builds!\n<ul>\n<li>\n<p><div id=\"attachment_2904\" style=\"width: 399px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/treeherder.mozilla.org\/perf.html#\/compare?originalProject=mozilla-central&amp;originalRevision=3dc420775cf024cedc9bdcc43d020f7319f00a77&amp;newProject=try&amp;newRevision=5815bce75fd601c3a2e29e53912648460536cb55&amp;framework=1&amp;showOnlyImportant=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2904\" data-attachment-id=\"2904\" data-permalink=\"https:\/\/mikeconley.ca\/blog\/2018\/03\/13\/firefox-performance-update-3\/index-2\/\" data-orig-file=\"https:\/\/mikeconley.ca\/blog\/wp-content\/uploads\/2018\/03\/index-1.png\" data-orig-size=\"2815,1631\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Improvements from Windows compiler change\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Not bad for a compiler upgrade!&lt;\/p&gt;\n\" data-large-file=\"https:\/\/mikeconley.ca\/blog\/wp-content\/uploads\/2018\/03\/index-1.png\" class=\"wp-image-2904\" src=\"https:\/\/mikeconley.ca\/blog\/wp-content\/uploads\/2018\/03\/index-1.png\" alt=\"Showing performance benchmark improvements after switching to a new version of Visual Studio (17).\" width=\"389\" height=\"225\" \/><\/a><p id=\"caption-attachment-2904\" class=\"wp-caption-text\">Not bad for a compiler upgrade!<\/p><\/div><\/li>\n<\/ul>\n<\/li>\n<li>Marco Bonardo <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1439315\">made it so that we lazily load a Places script<\/a>, rather than loading it automatically for every single window that gets opened.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Hi! I&#8217;ve got another slew of Firefox performance work to report today. Special thanks to the folks who submitted things through this form to let me know about performance work that&#8217;s taken place recently! If you&#8217;ve seen something fixed lately that&#8217;ll likely have a positive impact on Firefox performance, let me know about it! So, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[874,861],"tags":[1044],"class_list":["post-2903","post","type-post","status-publish","format-standard","hentry","category-firefox-mozilla-2","category-mozilla-2","tag-performance"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prmTy-KP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/2903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/comments?post=2903"}],"version-history":[{"count":1,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/2903\/revisions"}],"predecessor-version":[{"id":2905,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/2903\/revisions\/2905"}],"wp:attachment":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/media?parent=2903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/categories?post=2903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/tags?post=2903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}