{"id":20,"date":"2011-09-19T20:55:22","date_gmt":"2011-09-19T20:55:22","guid":{"rendered":"http:\/\/blog.mozilla.org\/nfroyd\/?p=20"},"modified":"2011-09-19T21:52:46","modified_gmt":"2011-09-19T21:52:46","slug":"startup-reduction-times-with-syzygy","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nfroyd\/2011\/09\/19\/startup-reduction-times-with-syzygy\/","title":{"rendered":"startup reduction times with syzygy"},"content":{"rendered":"<p>People that I&#8217;ve told about the <a title=\"fewer page faults with syzygy\" href=\"http:\/\/blog.mozilla.org\/nfroyd\/2011\/09\/08\/fewer-page-faults-with-syzygy\/\">work with syzygy that I&#8217;ve been doing<\/a> have, almost universally, two reactions:<\/p>\n<ol>\n<li>That&#8217;s cool!\u00a0 (Thanks; I did very little work for it!)<\/li>\n<li>How does that translate into startup time?<\/li>\n<\/ol>\n<p>Assuming that a 40% reduction in page faults leads to a 40% reduction in startup time is not reasonable, but surely there should be some reduction in startup time, right?\u00a0 I finally benchmarked this today using <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/about-startup\/\">the about:startup extension<\/a>; these numbers are from cold start, freshly rebooted both times:<\/p>\n<table cellspacing=\"2\" cellpadding=\"5\">\n<tbody>\n<tr>\n<th>Version<\/th>\n<th>main<\/th>\n<th>sessionRestored<\/th>\n<th>firstPaint<\/th>\n<\/tr>\n<tr>\n<td>Trunk build<\/td>\n<td>125<\/td>\n<td>1733<\/td>\n<td>1671<\/td>\n<\/tr>\n<tr>\n<td>Optimized build<\/td>\n<td>125<\/td>\n<td>1639<\/td>\n<td>1577<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>So a 40% reduction in page faults translates into ~6% reduction in startup time; not stellar, but not too bad either.<\/p>\n<p>The next step is making sure this all works with PGO builds on Windows. Then we get to have a discussion about whether to incorporate this into the regular builds and getting all the infrastructure on build machines.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>People that I&#8217;ve told about the work with syzygy that I&#8217;ve been doing have, almost universally, two reactions: That&#8217;s cool!\u00a0 (Thanks; I did very little work for it!) How does that translate into startup time? Assuming that a 40% reduction in page faults leads to a 40% reduction in startup time is not reasonable, but [&hellip;]<\/p>\n","protected":false},"author":320,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/posts\/20"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/users\/320"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nfroyd\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}