<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>dietrich &#187; mozilla</title>
	<atom:link href="http://autonome.wordpress.com/category/mozilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://autonome.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sat, 07 Nov 2009 18:23:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='autonome.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6a4bc4887894aaa9fff704de2b72e0cb?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>dietrich &#187; mozilla</title>
		<link>http://autonome.wordpress.com</link>
	</image>
			<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/11/07/firefox-startup-performance-weekly-summary-9/</link>
		<comments>http://autonome.wordpress.com/2009/11/07/firefox-startup-performance-weekly-summary-9/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 02:26:58 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=472</guid>
		<description><![CDATA[This week brings a boost in visibility of results, not just for startup, but for all the performance testing we&#8217;re doing on all branches and platforms. As I mentioned last week, I was working on an automated method of generating the cross-branch startup results. Luckily Johnath and Chris Atlee had done the hard work when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=472&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This week brings a boost in visibility of results, not just for startup, but for all the performance testing we&#8217;re doing on all branches and platforms. As I mentioned last week, I was working on an automated method of generating the cross-branch startup results. Luckily <a href="http://blog.johnath.com/">Johnath </a>and <a href="http://atlee.ca/blog/">Chris Atlee</a> had done the hard work when making the <a href="http://graphs.mozilla.org/dashboard/">performance dashboard</a>. It has a JSON file that contains a roll-up of the previous 7 days performance data, which is updated every 5 minutes with new Talos results. Using that as the datasource, I wrote  a script summarizes the results for each test+branch+OS combination across all the boxes that returned results, as well as stable branch and previous week differences. The final product gives a snapshot view of how each branch compares to the stable branch.</p>
<p>This is useful for a few different reasons. First, we (and the press and our users and our managers and everyone really) are able to know at-a-glance how any branch compares to the stable release branch. An example of another use is that before the JS team does a Tracemonkey merge, they can quickly see if any major performance effects can be expected.</p>
<p>The table shows red or green for any differences that are outside of a 2% threshold, to take test noise into account. This is quite liberal, as I&#8217;ve already calculated the numbers to take into account whether the difference is within the standard deviation. Reducing the noise in the tests would be a big help &#8211; perhaps some researcher will take up <a href="http://weblogs.mozillazine.org/roc/archives/2009/11/challenges_in_s.html">Roc&#8217;s challenge</a>. A second point of trust is my math <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;m not a statistician, so please view source and let me know where I&#8217;ve miscalculated.</p>
<p>An example of the full report is <a href="http://people.mozilla.org/~dietrich/snapshot/">here</a>. I&#8217;m going to file a bug and work with release-engineering to get it pushed out to the graph server, where the dashboard lives. The data from this week&#8217;s startup table is copied below (though sans the color-coding of the real thing. Actually, now WordPress keeps stripping out my styles, so you get an ugly table this week).</p>
<h1>Ts</h1>
<table style="border-spacing:0;border-collapse:collapse;border:0 0 1px 1px solid #600;">
<tbody>
<tr>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;"></td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">Firefox3.5</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">Firefox3.6</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">Firefox</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">TraceMonkey</td>
</tr>
<tr>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">Leopard</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  1469deviation: 110mean: 1481</p>
<p>from last week: 2%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  1115<br />
deviation: 59<br />
mean: 1096<br />
from last week: 3%<br />
from 3.5: 26%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 1036<br />
deviation: 48<br />
mean: 1006<br />
from last week: 1%<br />
from 3.5: 32%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 1014<br />
deviation:  38<br />
mean: 1000<br />
from last week: 0%<br />
from 3.5: 32%</td>
</tr>
<tr>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">Linux</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  625<br />
deviation: 7<br />
mean: 626<br />
from last week: 0%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  632<br />
deviation: 7<br />
mean: 633<br />
from last week: 0%<br />
from 3.5: -1%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 619<br />
deviation: 10<br />
mean: 623<br />
from last week: 1%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 628<br />
deviation: 7<br />
mean: 628<br />
from last week: 0%</td>
</tr>
<tr>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">Vista</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  538<br />
deviation: 8<br />
mean: 540<br />
from last week: 0%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  533<br />
deviation: 13<br />
mean: 537<br />
from last week: 1%<br />
from 3.5: 1%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 503<br />
deviation: 23<br />
mean: 509<br />
from last week: 0%<br />
from  3.5: 6%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 511<br />
deviation: 41<br />
mean: 531<br />
from last week: 11%<br />
from 3.5: 2%</td>
</tr>
<tr>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">XP</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  461<br />
deviation: 6<br />
mean: 461<br />
from last week: 0%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median:  464<br />
deviation: 6<br />
mean: 464<br />
from last week: 1%<br />
from 3.5: -1%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 448<br />
deviation: 7<br />
mean: 448<br />
from last week: 0%<br />
from  3.5: 3%</td>
<td style="background-color:#ffc;border:1px 1px 0 0 solid #600;margin:0;padding:4px;">median: 530<br />
deviation: 38<br />
mean: 501<br />
from last week: 10%<br />
from  3.5: -9%</td>
</tr>
</tbody>
</table>
<p>This week&#8217;s activity:</p>
<ul>
<li>Taras and Joel are still working on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=524202">bug 524202</a>, tracking down exactly how and when dynamic library code is loaded. They&#8217;re past diagnostics, and are now into implementation, coaxing the linker into ordering functions in the optimal sequence. See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=524202#c3">this  comment</a> for a good summary of the issue. Joel put up <a href="http://wagerlabs.com/post/230853261/tracking-io-patterns-in-memory-mapped-dynamic-libaries">a very detailed blog post</a> about the work they&#8217;ve been doing.</li>
<li>Ryan Flint <a href="http://screwedbydesign.com/blog/2009/11/this-week-in-perf-nov06.php">posted an update on his startup bug activity</a> this week.</li>
<li>Have a patch enabling Windows cold-startup testing for Talos for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=522807">bug 522807</a>, but it&#8217;s causing the whole OS to freeze, only recoverable via reboot. Fun! I also added some <a href="https://wiki.mozilla.org/Firefox/Sprints/Startup_Time_Improvements#Tips.2C_Tools">details and links about how Prefetch/SuperFetch work</a> on Windows to the wiki.</li>
<li>Rob Strong pushed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=311965">bug 311965</a> to mozilla-central, comm-central and 1.9.2 while also ensuring not to break all the toolkit apps that depend on this code. Truly a gentleman of the Mozilla ecosystem.</li>
<li>Taras put a new patch up for service caching in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug         516085</a>.</li>
<li>Everything is about ready for re-enabling rebasing on  Windows in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=484799">bug    484799</a>, just needs landing.</li>
<li>John Dagget posted some test times in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519445">bug       519445</a> for yet further reductions in Mac startup       time spent in font system initialization, just needs review.</li>
<li>B<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512645">ug    512645</a>, removing the setTimeout 10ms wait in chrome JS, is ready to land. I&#8217;ll try to land this weekend if the bug owner doesn&#8217;t get around to it first (hint hint).</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Drew has a patch up for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506814">bug    506814</a>, getting rid of Change     GetPersistentDescriptor/SetPersistentDescriptor on Mac, just needs   review from Josh.</li>
<li>Ben Hsieh has been prototyping a whole Fastload cache  replacement in  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=520309">bug   520309</a>.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS         modules into a JAR file</a>, since those files are fastloaded.        However, since we want things like post-extension-install restarts  to   be     fast, and those cause fastload cache invalidation, we might   want  to   do   things like this anyways. I filed a bug for the same   treatment  for     components. These are lower priority, since they&#8217;re   not the  normal     startup case. Follow along with all JAR-ification   via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the        tracker  bug</a>.</li>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the       whiteboard of your bug w/ the function names you want timed and David       will generate it and update the bug.</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug       506128</a>.  David needs to file a bug with the final log of       named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file       bugs  for each, generate Talos config patches and profile data, and   then     move  it into Rel-Eng territory. Also, need to get a separate      Tinderbox  tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel       Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug       513076</a> that there are serious drawbacks to getting our libraries in       the dyld  shared cache on Mac, so has deprioritized that work.</li>
<li>No updates on Zack&#8217;s CSS parser changes in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug         513149</a>.</li>
</ul>
<p>As usual, more details and links are  available on <a href="https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements">the      project wiki</a>, and we&#8217;re available to answer questions in <a href="irc://irc.mozilla.org/#startup">#startup on irc.mozilla.org</a>.</p>
<p>UPDATE: Fixed link to full report.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/472/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=472&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/11/07/firefox-startup-performance-weekly-summary-9/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/10/31/firefox-startup-performance-weekly-summary-8/</link>
		<comments>http://autonome.wordpress.com/2009/10/31/firefox-startup-performance-weekly-summary-8/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 00:18:15 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=468</guid>
		<description><![CDATA[No numbers summary this week, as 1) there weren&#8217;t any major landings and 2) I&#8217;m working on a script to automate the generation of these summarized numbers. Updates on the week&#8217;s activity is below. As usual, more details and links are  available on the     project wiki, and we&#8217;re available to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=468&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>No numbers summary this week, as 1) there weren&#8217;t any major landings and 2) I&#8217;m working on a script to automate the generation of these summarized numbers. Updates on the week&#8217;s activity is below. As usual, more details and links are  available on <a href="https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements">the     project wiki</a>, and we&#8217;re available to answer questions in <a href="irc://irc.mozilla.org/#startup">#startup on irc.mozilla.org</a>.</p>
<ul>
<li>Taras and Joel are working on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=524202">bug 524202</a>, tracking down exactly how and when dynamic library code is loaded. See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=524202#c3">this comment</a> for a good summary of the issue.</li>
<li>I think I&#8217;ve found a scenario for stable cold startup numbers on Windows, which is basically: 1) Run consume.exe for N seconds where N is how long it takes to consume all physical RAM (and which also pegs the CPU), 2) sleep for 30 seconds (or however long it takes for the system to quiet down) and 3) measure startup time as usual. Next step is to get a Talos patch up, and work with Rel/Eng to get it deployed into testing so we can see numbers on real Talos boxes.</li>
<li>Rob Strong split up the update service in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=311965">bug 311965</a>, has most reviews (affects all toolkit apps) and is about ready to land. This showed a significant win on WinCE startup.</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Drew has a patch up for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506814">bug    506814</a>, getting rid of Change     GetPersistentDescriptor/SetPersistentDescriptor on Mac, just needs   review from Josh.</li>
<li>B<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512645">ug   512645</a>, removing the setTimeout 10ms wait in chrome JS, <span style="text-decoration:line-through;">is just  waiting on review</span> just needs to be landed (thanks jesse).</li>
<li>Ben Hsieh has been prototyping a whole Fastload cache  replacement in  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=520309">bug   520309</a>.</li>
<li>Ted has been looking at re-enabling rebasing on  Windows in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=484799">bug   484799</a> for a potential performance boost there.</li>
<li>Service caching work in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug        516085</a> still needs to be pushed  to  the  Places branch for  testing.</li>
<li>Moving font-loading out of the startup path on Mac: Jonathan Kew    filed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519445">bug      519445</a> with a WIP patch for yet further reductions in Mac startup      time spent in font system initialization.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS         modules into a JAR file</a>, since those files are fastloaded.        However, since we want things like post-extension-install restarts  to   be     fast, and those cause fastload cache invalidation, we might   want  to   do   things like this anyways. I filed a bug for the same   treatment  for     components. These are lower priority, since they&#8217;re   not the  normal     startup case. Follow along with all JAR-ification   via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the        tracker  bug</a>.</li>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the       whiteboard of your bug w/ the function names you want timed and David       will generate it and update the bug.</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug       506128</a>.  David needs to file a bug with the final log of       named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file       bugs  for each, generate Talos config patches and profile data, and   then     move  it into Rel-Eng territory. Also, need to get a separate      Tinderbox  tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel       Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug       513076</a> that there are serious drawbacks to getting our libraries in       the dyld  shared cache on Mac, so has deprioritized that work.</li>
<li>No updates on Zack&#8217;s CSS parser changes in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug         513149</a>.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/468/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=468&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/10/31/firefox-startup-performance-weekly-summary-8/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/10/24/firefox-startup-performance-weekly-summary-7/</link>
		<comments>http://autonome.wordpress.com/2009/10/24/firefox-startup-performance-weekly-summary-7/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 02:58:05 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=458</guid>
		<description><![CDATA[First, the numbers. This is the first round where all the posted numbers are from Talos. We&#8217;re getting closer to having Windows numbers for cold startup (details further down). The cold numbers didn&#8217;t have much in the way of results yet, only 3-5 boxes for today&#8217;s numbers, and given the variability we should probably put [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=458&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>First, the numbers. This is the first round where all the posted numbers are from Talos. We&#8217;re getting closer to having Windows numbers for cold startup (details further down). The cold numbers didn&#8217;t have much in the way of results yet, only 3-5 boxes for today&#8217;s numbers, and given the variability we should probably put more boxes on those. The notable datapoint is that cold startup on Mac for 3.6 is better than for trunk, which is odd since it&#8217;s been the opposite in all of our manual testing, and most of the big wins haven&#8217;t made it to the branch yet. It could be because of the dearth of results so far. Next week I&#8217;ll include the dirty profile test results in these tables as well.</p>
<p>Cold Startup</p>
<table border="1">
<tbody>
<tr>
<td>Platform</td>
<td>3.5</td>
<td>3.6</td>
<td>Trunk</td>
</tr>
<tr>
<td>Mac Leopard (10/23)</td>
<td>15605ms</td>
<td>13120ms (-16%)</td>
<td>13859ms (-11%)</td>
</tr>
<tr>
<td>Win XP</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Win Vista</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Linux (10/23)</td>
<td>7056ms</td>
<td>7159ms (1%)</td>
<td>7204ms (2%)</td>
</tr>
</tbody>
</table>
<p>Warm Startup</p>
<table border="1">
<tbody>
<tr>
<td>Platform</td>
<td>3.5</td>
<td>3.6</td>
<td>Trunk</td>
</tr>
<tr>
<td>Mac Leopard (10/23)</td>
<td>1451ms</td>
<td>1108ms (-23%)</td>
<td>1017ms (-30%)</td>
</tr>
<tr>
<td>Win XP (10/23)</td>
<td>459ms</td>
<td>462ms (0%)</td>
<td>449ms  (-2%)</td>
</tr>
<tr>
<td>Win Vista (10/23)</td>
<td>535ms</td>
<td>544ms (1%)</td>
<td>506ms (-5%)</td>
</tr>
<tr>
<td>Linux (10/23)</td>
<td>625ms</td>
<td>632ms (1%)</td>
<td>629ms  (0%)</td>
</tr>
</tbody>
</table>
<p>As usual, more details and links are  available on <a href="https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements">the    project wiki</a>, and we&#8217;re available to answer questions in <a href="irc://irc.mozilla.org/#startup">#startup on irc.mozilla.org</a>.</p>
<ul>
<li>Taras is zooming in on library IO, and <a href="http://blog.mozilla.com/tglek/2009/10/20/large-apps-just-have-to-start-slow/">posted some details and optimization approaches</a>, and<a href="http://blog.mozilla.com/tglek/2009/10/23/studying-library-io-systemtap-style/"> today posted a log</a> of what&#8217;s loaded and how long it takes.</li>
<li>Windows Cold Ts: As you can see above in the table, the new cold startup graphs are here for <a href="http://tinyurl.com/2vr3pz">Mac </a>and <a href="http://tinyurl.com/2vr3pz">Linux</a>. I&#8217;ve made progress on emulating cold startup on Windows using a utility from the Windows Server 2003 Resource Kit called Consume.exe. I found a reference to it in some random blog comment, and then<a href="https://developer.mozilla.org/en/QA/Stress_Testing"> found it on MDC</a> as the #2 link on Google. The help file that the resource kit installer links from the start menu  is&#8230; not actualy there, but I did find some <a href="http://www.windows-management.com/msk-rk/win2003/0127/">tidbits of  documentation</a>. It will consume one of physical memory, cpu time, <a href="http://blogs.technet.com/askperf/archive/2007/03/07/memory-management-understanding-pool-resources.aspx">kernel pool memory</a>, disk space (!) and the page file, for the number of seconds specified by the user. Running consume.exe for 15 seconds was enough to completely exhaust my physical ram, and subsequent starts of Firefox trunk are about 22 seconds. Next steps: I&#8217;ll continue to test to see what combination of these options gives us the best visibility into changes to cold startup time, and then work with Rel/Eng to get it deployed.</li>
<li>Alfred Kayser landed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511754">bug  511754</a>, which improves JAR file reading efficiency.</li>
<li>Rob Strong has been making a bunch of changes in the update system to improve startup time, and <a href="http://blog.mozilla.com/rstrong/2009/10/23/app-update-status/">posted a list of the changes</a>.</li>
<li>Drew has a patch up for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506814">bug  506814</a>, getting rid of Change   GetPersistentDescriptor/SetPersistentDescriptor on Mac, just needs review from Josh.</li>
<li>Peter got review on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512645">bug 542615</a>, removing the setTimeout 10ms wait in chrome JS.</li>
<li>Ben Hsieh has been prototyping a whole Fastload cache replacement in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=520309">bug 520309</a>.</li>
<li>Ben&#8217;s work on fastload cache invalidation in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511761">bug 511761</a> closed other bugs such as <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517515">bug 517515</a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512827">bug 512827</a>.</li>
<li>Ted has been looking at re-enabling rebasing on Windows in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=484799">bug 484799</a> for a potential performance boost there.</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Service caching work in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug       516085</a> still needs to be pushed  to  the  Places branch for testing.</li>
<li>Moving font-loading out of the startup path on Mac: Jonathan Kew   filed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519445">bug     519445</a> with a WIP patch for yet further reductions in Mac startup     time spent in font system initialization.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS        modules into a JAR file</a>, since those files are fastloaded.       However, since we want things like post-extension-install restarts to   be     fast, and those cause fastload cache invalidation, we might  want  to   do   things like this anyways. I filed a bug for the same  treatment  for     components. These are lower priority, since they&#8217;re  not the  normal     startup case. Follow along with all JAR-ification  via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the       tracker  bug</a>.</li>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the      whiteboard of your bug w/ the function names you want timed and David      will generate it and update the bug.</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug      506128</a>.  David needs to file a bug with the final log of      named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file      bugs  for each, generate Talos config patches and profile data, and  then     move  it into Rel-Eng territory. Also, need to get a separate     Tinderbox  tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel      Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug      513076</a> that there are serious drawbacks to getting our libraries in      the dyld  shared cache on Mac, so has deprioritized that work.</li>
<li>No updates on Zack&#8217;s CSS parser changes in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug        513149</a>.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/458/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=458&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/10/24/firefox-startup-performance-weekly-summary-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/10/17/firefox-startup-performance-weekly-summary-6/</link>
		<comments>http://autonome.wordpress.com/2009/10/17/firefox-startup-performance-weekly-summary-6/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 06:14:07 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=446</guid>
		<description><![CDATA[The numbers aren&#8217;t updated yet, as they were oddly counter-intuitive. Firefox 3.5 showed a massive week-over-week improvement in cold startup on Windows, which from what I can tell is not expected. On Leopard, cold startup shows a couple of percentage point improvement over last week, which is expected. Warm startup for Mac shows a 20% [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=446&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The numbers aren&#8217;t updated yet, as they were oddly counter-intuitive. Firefox 3.5 showed a massive week-over-week improvement in cold startup on Windows, which from what I can tell is not expected. On Leopard, cold startup shows a couple of percentage point improvement over last week, which is expected. Warm startup for Mac shows a 20% improvement over 3.5, but a 10% *regression* from last week, contradicting the numbers from Ts. Again, counter-intuitive numbers given that we landed a bunch of changes focused squarely on startup performance during that period.</p>
<p>Fortuitously, Alice and the release engineering team <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510587">deployed automated cold startup testing for Mac and Linux</a>. This gives us per-checkin visibility of cold startup times, and removes the need for error-prone local measurements for those platforms. On <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=522807">Windows we haven&#8217;t yet figured out how to emulate cold startup reliably</a>, so that&#8217;s the next step.</p>
<p>As usual, more details and links are  available on <a href="https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements">the  project wiki</a>, and we&#8217;re available to answer questions in <a href="irc://irc.mozilla.org/#startup">#startup on irc.mozilla.org</a>.</p>
<p>Recent activity:</p>
<ul>
<li>B<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511761">ug   511761</a> landed, Ben Hsieh&#8217;s work to optimize fastload cache invalidation, with a  3% win on warm startup of WinXP.</li>
<li>Alfred Kayser put a patch up on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511754">bug 511754</a>, which improves JAR file reading efficiency.</li>
<li>Rob Strong closed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=521956">bug 521956</a> and started some cleanup of nsUpdateService, further reducing the size of it for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=311965">bug 311965</a>.</li>
<li>Drew has a patch up for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506814">bug 506814</a>, getting rid of Change  GetPersistentDescriptor/SetPersistentDescriptor on Mac.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=504858">Bug      504858</a> pushes back the population of the bookmarks toolbar until   after   the  browser window comes up. Dao put up a new patch. Measuring  the wall-clock effect of this on startup, and determining what exactly  is &#8220;gaming&#8221; the Ts test is part of the work here.</li>
<li>Service caching work in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug     516085</a> still needs to be pushed  to  the  Places branch for testing.</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Moving font-loading out of the startup path on Mac: Jonathan Kew  filed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519445">bug    519445</a> with a WIP patch for yet further reductions in Mac startup    time spent in font system initialization.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS       modules into a JAR file</a>, since those files are fastloaded.      However, since we want things like post-extension-install restarts to  be     fast, and those cause fastload cache invalidation, we might want  to   do   things like this anyways. I filed a bug for the same treatment  for     components. These are lower priority, since they&#8217;re not the  normal     startup case. Follow along with all JAR-ification via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the      tracker  bug</a>.</li>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the     whiteboard of your bug w/ the function names you want timed and David     will generate it and update the bug.</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug     506128</a>.  David needs to file a bug with the final log of     named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file     bugs  for each, generate Talos config patches and profile data, and then     move  it into Rel-Eng territory. Also, need to get a separate    Tinderbox  tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel     Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug     513076</a> that there are serious drawbacks to getting our libraries in     the dyld  shared cache on Mac, so has deprioritized that work.</li>
<li>No updates on Zack&#8217;s CSS parser changes in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug       513149</a>.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/446/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=446&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/10/17/firefox-startup-performance-weekly-summary-6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/10/12/firefox-startup-performance-weekly-summary-5/</link>
		<comments>http://autonome.wordpress.com/2009/10/12/firefox-startup-performance-weekly-summary-5/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 06:07:02 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=440</guid>
		<description><![CDATA[Work on blockers for 3.6 stole some time last week, but some startup work advanced nonetheless, including a bunch of landings. I&#8217;ve posted the numbers from early last week below. The percentages are the difference from 3.5. Given the spate of landings later in the week after we measured,  I&#8217;ll have to update the numbers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=440&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Work on blockers for 3.6 stole some time last week, but some startup work advanced nonetheless, including a bunch of landings. I&#8217;ve posted the numbers from early last week below. The percentages are the difference from 3.5. Given the spate of landings later in the week after we measured,  I&#8217;ll have to update the numbers again to get the full effect of everything listed below. As usual, more details and links are available on <a href="https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements">the project wiki</a>, and we&#8217;re available to answer questions in <a href="irc://irc.mozilla.org/#startup">#startup on irc.mozilla.org</a>.</p>
<p>Cold Startup (median results from Juan and myself)</p>
<table style="height:60px;" border="1" width="346">
<tbody>
<tr>
<td>Platform</td>
<td>3.5</td>
<td>3.6</td>
<td>Trunk</td>
</tr>
<tr>
<td>Mac Leopard (10/6)</td>
<td>12161</td>
<td>10440 (-14%)</td>
<td>10175 (-16%)</td>
</tr>
<tr>
<td>Win XP (10/4)</td>
<td>5610</td>
<td>5640 (0%)</td>
<td>4050  (-27.8%)</td>
</tr>
</tbody>
</table>
<p>Warm Startup (median of results from Talos, updated 10/6)</p>
<table border="1">
<tbody>
<tr>
<td>Platform</td>
<td>3.5</td>
<td>3.6</td>
<td>Trunk</td>
</tr>
<tr>
<td>Mac Leopard</td>
<td>1500ms</td>
<td>1190ms (-20%)</td>
<td>1040ms (-30%)</td>
</tr>
<tr>
<td>Win XP</td>
<td>458ms</td>
<td>470ms (+2%)</td>
<td>468ms (+2%)</td>
</tr>
<tr>
<td>Win Vista</td>
<td>545ms</td>
<td>544ms (0%)</td>
<td>545ms (0%)</td>
</tr>
<tr>
<td>Linux</td>
<td>624ms</td>
<td>634ms (0%)</td>
<td>634ms (0%)</td>
</tr>
</tbody>
</table>
<p>Recent landings:</p>
<ul>
<li>Ryan landed <a title="https://bugzilla.mozilla.org/show_bug.cgi?id=475289" rel="nofollow" href="https://bugzilla.mozilla.org/show_bug.cgi?id=475289">bug 475289</a> to lazily initialize the  engineMetadataService, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=520342">bug 520342</a> to consolidate service initialization in the microsummary service, and pushed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=499123">bug 499123</a>, <span id="summary_alias_container" style="display:inline;"><span id="short_desc_nonedit_display">coalescing browser about:  pages, to the 3.6 branch.</span></span></li>
<li><span id="summary_alias_container" style="display:inline;"><span id="short_desc_nonedit_display">Taras landed a bunch</span></span> of <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=412796">optimizations to the fastload system</a> as well as his <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=507288">work on   combining the     different preference files</a>.</li>
<li>I turned on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=419893">PGO for   Places, mozStorage and SQLite</a>.</li>
<li>Alfred  Kayser’s patch on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510844">bug     510844</a> landed, which should increase throughput of JAR file reading.</li>
<li>Ben Hsieh got review on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510991">bug  510991</a>,  which removes some stats() from the startup path.</li>
</ul>
<p>Recent activity:</p>
<ul>
<li><span id="summary_alias_container" style="display:inline;"><span id="short_desc_nonedit_display">Ryan put up a patch for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=520284">bug </a></span></span><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=520284">520284</a>, which utilizes an important change that happened recently in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=471219">bug 471219</a> which allows components to register for periodic timer notifications *without* instantiating the service or component. An example is in Ryan&#8217;s patch, and the docs are in <a href="http://hg.mozilla.org/mozilla-central/file/52fb6780a698/toolkit/mozapps/update/public/nsIUpdateTimerManager.idl#l64">the source</a>.</li>
<li>B<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=504858">ug     504858</a> pushes back the population of the bookmarks toolbar until  after   the  browser window comes up. Dao put up a new patch. Measuring the wall-clock effect of this on startup, and determining what exactly is &#8220;gaming&#8221; the Ts test is part of the work here.</li>
<li>Ben Hsieh is in review cycles for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511761">bug 511761</a> which optimizes the fastload cache invalidation, and consolidates some of the invalidation triggers.</li>
<li>Service caching work in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug    516085</a>, still made no progress. This week I&#8217;ll try pushing this  to the  Places branch.</li>
<li>No updates on Zack&#8217;s CSS parser changes in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug     513149</a>.</li>
<li>Cold Startup Testing: Alice put more patches on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510587">bug      510587</a>, getting us ever closer to automated testing of cold startup.</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Moving font-loading out of the startup path on Mac: Jonathan Kew filed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519445">bug   519445</a> with a WIP patch for yet further reductions in Mac startup   time spent in font system initialization.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS      modules into a JAR file</a>, since those files are fastloaded.     However, since we want things like post-extension-install restarts to be     fast, and those cause fastload cache invalidation, we might want to   do   things like this anyways. I filed a bug for the same treatment for     components. These are lower priority, since they&#8217;re not the normal     startup case. Follow along with all JAR-ification via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the     tracker  bug</a>.</li>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the    whiteboard of your bug w/ the function names you want timed and David    will generate it and update the bug.</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug    506128</a>.  David needs to file a bug with the final log of    named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file    bugs  for each, generate Talos config patches and profile data, and then    move  it into Rel-Eng territory. Also, need to get a separate   Tinderbox  tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel    Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug    513076</a> that there are serious drawbacks to getting our libraries in    the dyld  shared cache on Mac, so has deprioritized that work.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/440/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=440&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/10/12/firefox-startup-performance-weekly-summary-5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>The awesomebar for command-line filesystem traversal&#8230; for Windows</title>
		<link>http://autonome.wordpress.com/2009/10/07/the-awesomebar-for-command-line-filesystem-traversal-for-windows/</link>
		<comments>http://autonome.wordpress.com/2009/10/07/the-awesomebar-for-command-line-filesystem-traversal-for-windows/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 16:20:45 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=437</guid>
		<description><![CDATA[Autojump is a command-line utility that &#8220;learns&#8221; from your filesystem navigation via the &#8220;cd&#8221; command, and allows you to jump quickly to oft-travelled-to directories. Source, installation and usage information are at Github. After seeing this tweet from Dion, I went to install it, only to remember that I&#8217;m on Windows 7 now. Bah. So, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=437&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Autojump is a command-line utility that &#8220;learns&#8221; from your filesystem navigation via the &#8220;cd&#8221; command, and allows you to jump quickly to oft-travelled-to directories. Source, installation and usage information are at <a href="http://github.com/joelthelion/autojump">Github</a>. After seeing <a href="http://twitter.com/dalmaer/statuses/4685018591">this tweet from Dion</a>, I went to install it, only to remember that I&#8217;m on Windows 7 now. Bah. So, I tweaked it a bit to run inside the <a href="https://developer.mozilla.org/En/Windows_Build_Prerequisites#MozillaBuild">MozillaBuild</a> environment. Assuming you&#8217;ve cloned/downloaded Autojump, here are the steps to get it working:</p>
<ol>
<li>Open Mingw, navigate to the autojump source directory</li>
<li>Remove all instances of &#8220;sudo&#8221; from the install.sh file</li>
<li>Get your Python path: $ which python</li>
<li>Replace /usr/bin/python with your Python path in the autojump file</li>
<li>Run install.sh</li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/437/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=437&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/10/07/the-awesomebar-for-command-line-filesystem-traversal-for-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/10/02/firefox-startup-performance-weekly-summary-4/</link>
		<comments>http://autonome.wordpress.com/2009/10/02/firefox-startup-performance-weekly-summary-4/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 22:08:25 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=434</guid>
		<description><![CDATA[This week brought a big win on Mac, and a slew of changes that are about to land.
Recent activity:

Bug 517045 is fixed and brings another win on Mac. Found by Joel Reymont and fixed by John Daggett, it improves cold startup by ~20% and warm startup by ~4%. It gets better: Jonathan Kew filed bug [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=434&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This week brought a big win on Mac, and a slew of changes that are about to land.</p>
<p>Recent activity:</p>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517045">Bug 517045</a> is fixed and brings another win on Mac. Found by Joel Reymont and fixed by John Daggett, it improves cold startup by ~20% and warm startup by ~4%. It gets better: Jonathan Kew filed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519445">bug 519445</a> with a WIP patch for yet further reductions in Mac startup time spent in font system initialization.</li>
<li>Taras Glek&#8217;s <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=507288">work on combining the     different preference files</a> into a single one is ready to land.</li>
<li>We now have unit-tested optimized builds, thanks to Release Engineering&#8217;s work on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=486783">bug 486783</a>. This means we can now turn on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=419893">PGO for Places, mozStorage and SQLite</a>, which I&#8217;ll land presently.</li>
<li>B<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=504858">ug    504858</a> pushes back the population of the bookmarks toolbar until after   the  browser window comes up. The patch has review, is ready to land.</li>
<li>Alfred Kayser&#8217;s patch on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510844">bug    510844</a> which should increase throughput of JAR file reading, is   ready to land.</li>
<li>Ben Hsieh got review on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510991">bug 510991</a>, which removes some stats() from the startup path.</li>
<li>I&#8217;m no longer able to reproduce the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517741">cold startup regression from 3.5 to 3.6</a>. I turned of SuperFetch, which resulted in more stable numbers, but there was no visible regression, even in builds going back a couple of months. Juan is going to test on Windows XP.</li>
<li>Ben Hsieh has a patch up for review on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511761">bug   511761</a>, which removes needless stat()s of component files, and improves and clarifies current cache invalidation behavior.</li>
<li>Service caching work in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug   516085</a>, made no progress. Next week I&#8217;ll try pushing this  to the Places branch to get a better idea of the total performance  impact of the change.</li>
<li>Zack is working on major CSS parser changes in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug    513149</a>.</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Cold Startup Testing: Drew and Alice made a bunch of progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510587">bug    510587</a>,  to create a new Ts that measures cold startup. Alice is    working on mobile Talos though, so this is sidelined for a bit. The only    issue left is reliable Windows measurement, but we&#8217;re not going to    block on it, can live with Mac and Linux to start off.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS     modules into a JAR file</a>, since those files are fastloaded.    However, since we want things like post-extension-install restarts to be    fast, and those cause fastload cache invalidation, we might want to  do   things like this anyways. I filed a bug for the same treatment for    components. These are lower priority, since they&#8217;re not the normal    startup case. Follow along with all JAR-ification via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the    tracker  bug</a>.</li>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the   whiteboard of your bug w/ the function names you want timed and David   will generate it and update the bug.</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug   506128</a>.  David needs to file a bug with the final log of   named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file   bugs  for each, generate Talos config patches and profile data, and then   move  it into Rel-Eng territory. Also, need to get a separate  Tinderbox  tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel   Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug   513076</a> that there are serious drawbacks to getting our libraries in   the dyld  shared cache on Mac, so has deprioritized that work.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/434/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=434&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/10/02/firefox-startup-performance-weekly-summary-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/09/26/firefox-startup-performance-weekly-summary-3/</link>
		<comments>http://autonome.wordpress.com/2009/09/26/firefox-startup-performance-weekly-summary-3/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 05:37:04 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=430</guid>
		<description><![CDATA[Recent activity:

An improvement in startup time on Mac Leopard of around ~16% (aka: Very Large) was found by Joel Reymont and fixed by Masayuki Nakano in bug 517549. Mac users rejoice!
The Windows cold startup regression from 3.5 to 3.6 being tracked in bug  517741. Help finding the window for this would be awesome.
JAR Performance: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=430&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recent activity:</p>
<ul>
<li>An improvement in startup time on Mac Leopard of around ~16% (aka: Very Large) was found by Joel Reymont and fixed by Masayuki Nakano in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517549">bug 517549</a>. Mac users rejoice!</li>
<li>The Windows cold startup regression from 3.5 to 3.6 being tracked in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517741">bug  517741</a>. Help finding the window for this would be awesome.</li>
<li>JAR Performance: Alfred Kayser has a new patch on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510844">bug  510844</a> which should increase throughput of JAR file reading, about ready to land.</li>
<li>Ben Hsieh is making progress removing the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512827">needless  stats of already-fastloaded components</a> and other stat removals in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511761">bug  511761</a>.</li>
<li>Service caching work is still in progress in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug  516085</a>. Drew&#8217;s tests showed no significant win on Tp, but the patch did reduce IO service retrievals by 58%. It might be worth pushing this to the Places branch to get a better idea of the total performance impact of the change.</li>
<li>Ryan Flint landed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=499123">bug 499123</a>, combining a bunch of about: pages into a single component, on 1.9.2 branch for Firefox 3.6.</li>
<li>Bookmarks toolbar: I put a patch on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=504858">bug 504858</a> that pushes back the population of the toolbar until after the browser window comes up. Checking into the Places branch showed a 1.5% improvement to warm startup on Windows. Just waiting on review.</li>
<li>CSS Parsing Time: Zack is working on major CSS parser changes in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug   513149</a>.</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Preference Files: Taras Glek has been working on combining the   different preference files into a single one at build time, in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=507288">bug   507288</a>. The patch is there, and is just trying to find a way to land   cleanly.</li>
<li>Cold Startup Testing: Drew and Alice made a bunch of progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510587">bug   510587</a>,  to create a new Ts that measures cold startup. Alice is   working on mobile Talos though, so this is sidelined for a bit. The only   issue left is reliable Windows measurement, but we&#8217;re not going to   block on it, can live with Mac and Linux to start off.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS    modules into a JAR file</a>, since those files are fastloaded.   However, since we want things like post-extension-install restarts to be   fast, and those cause fastload cache invalidation, we might want to do   things like this anyways. I filed a bug for the same treatment for   components. These are lower priority, since they&#8217;re not the normal   startup case. Follow along with all JAR-ification via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the   tracker  bug</a>.</li>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the  whiteboard of your bug w/ the function names you want timed and David  will generate it and update the bug.</li>
<li>PGO for Places, mozStorage and SQLite: Still blocking on Rel-Eng  fixing <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=486783">bug  486783</a>, which now has patches!</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug  506128</a>.  David needs to file a bug with the final log of  named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file  bugs  for each, generate Talos config patches and profile data, and then  move  it into Rel-Eng territory. Also, need to get a separate Tinderbox  tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel  Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug  513076</a> that there are serious drawbacks to getting our libraries in  the dyld  shared cache on Mac, so has deprioritized that work.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/430/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=430&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/09/26/firefox-startup-performance-weekly-summary-3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/09/18/firefox-startup-performance-weekly-summary-2/</link>
		<comments>http://autonome.wordpress.com/2009/09/18/firefox-startup-performance-weekly-summary-2/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 23:46:44 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=417</guid>
		<description><![CDATA[Apologies for not posting last week, but I was on vacation. Recent activity:

I&#8217;ve updated the project wiki page with a table of summarized numbers for at-a-glance tracking of progress. I need to disable superfetch and try again on Windows.
Our measurements of cold startup showed a huge regression on Windows from 3.5 to 3.6. Tracking this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=417&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Apologies for not posting last week, but <a href="http://dietrich.tumblr.com/post/189638511/atp-was-so-much-damn-fun">I was on vacation</a>. Recent activity:</p>
<ul>
<li>I&#8217;ve updated the project wiki page with <a href="https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements#Overview">a table of summarized numbers</a> for at-a-glance tracking of progress. I need to disable superfetch and try again on Windows.</li>
<li>Our measurements of cold startup showed a huge regression on Windows from 3.5 to 3.6. Tracking this in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517741">bug 517741</a>.</li>
<li>JARification: David abandoned <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS  modules into a JAR file</a>, since those files are fastloaded. However, since we want things like post-extension-install restarts to be fast, and those cause fastload cache invalidation, we might want to do things like this anyways. I filed a bug for the same treatment for components. These are lower priority, since they&#8217;re not the normal startup case. Follow along with all JAR-ification via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the tracker  bug</a>.</li>
<li>JAR Performance: I&#8217;m going to test-land <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510844">bug 510844</a> on the Places branch to figure out what&#8217;s going wrong on the tinderbox. It should increase throughput of JAR file reading, possibly affecting Ts and Tp.</li>
<li>Removing the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512827">needless stats of already-fastloaded components</a> is being looked at more broadly in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=511761">bug 511761</a> by Ben Hsieh with help from Taras and others. There are a bunch of dirty ways to trigger component re-registration and fastload cache invalidation, so I filed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517515">bug 517515</a> to consolidate these in an explicit manner.</li>
<li>Cold Startup Testing: Drew and Alice made a bunch of progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510587">bug 510587</a>,  to create a new Ts that measures cold startup. Alice is working on mobile Talos though, so this is sidelined for a bit. The only issue left is reliable Windows measurement, but we&#8217;re not going to block on it, can live with Mac and Linux to start off.</li>
<li>Preference Files: Taras Glek has been working on combining the different preference files into a single one at build time, in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=507288">bug 507288</a>. The patch is there, and is just trying to find a way to land cleanly.</li>
<li>Service Caching: Vlad, Drew and Taras are working on caching some services globally for C++ code. For example, 50% of the GetService calls for the IO service originate from NS_NewURI usage. This work is in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=516085">bug 516085</a>.</li>
</ul>
<p>Projects in a holding pattern:</p>
<ul>
<li>Startup Timeline: No updates, still not landed. Add [ft] in the whiteboard of your bug w/ the function names you want timed and David will generate it and update the bug.</li>
<li>PGO for Places, mozStorage and SQLite: Still blocking on Rel-Eng fixing <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=486783">bug 486783</a>, which now has patches!</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">bug 506128</a>.  David needs to file a bug with the final log of named-yet-uncalled  functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file bugs  for each, generate Talos config patches and profile data, and then move  it into Rel-Eng territory. Also, need to get a separate Tinderbox tree,  since it’s going to cause a bazillion new columns.</li>
<li><a href="http://wagerlabs.com/">Joel Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug 513076</a> that there are serious drawbacks to getting our libraries in the dyld  shared cache on Mac, so has deprioritized that work.</li>
<li><a href="http://screwedbydesign.com/blog/2009/09/this-week-in-perf-sep04.php">Ryan  Flint blogged about</a> various front-end improvements he’s working on  that affect startup time.</li>
<li>CSS Parsing Time: Zack says his work in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug 513149</a> might improve CSS parsing time by 50%, and it’s next on his list.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/417/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=417&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/09/18/firefox-startup-performance-weekly-summary-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Startup Performance Weekly Summary</title>
		<link>http://autonome.wordpress.com/2009/09/06/firefox-startup-performance-weekly-summary/</link>
		<comments>http://autonome.wordpress.com/2009/09/06/firefox-startup-performance-weekly-summary/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 00:20:28 +0000</pubDate>
		<dc:creator>Dietrich Ayala</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://autonome.wordpress.com/?p=411</guid>
		<description><![CDATA[Let&#8217;s start with the numbers. Vlad spent some time measuring warm startup on the Mac, and it looks very nice: Firefox 3.6 starts up about 10% faster than 3.5, and 3.7 starts up about 20% faster than 3.5. I measured both cold and warm startup on Windows 7, and the picture is not so rosy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=411&subd=autonome&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Let&#8217;s start with the numbers. Vlad spent some time measuring warm startup on the Mac, and it looks very nice: Firefox 3.6 starts up about 10% faster than 3.5, and 3.7 starts up about 20% faster than 3.5. I measured both cold and warm startup on Windows 7, and the picture is not so rosy there. Warm startup is basically flat across 3.5, 3.6 and 3.7, in my tests. Cold startup is&#8230; well, weird. Allow me to explain&#8230;</p>
<p>My cold startup methodology is simple: On a basically clean install of Windows 7, I&#8217;d create a new profile, start the browser up, close it and then reboot. Then I&#8217;d measure Firefox startup time after the OS settled. Then I&#8217;d do that reboot-and-measure step a bunch more times. Yes, so much fun. I measured Firefox startup time using the method Vlad posted to his blog. This doesn&#8217;t do anything to avoid OS optimizations that might persist across reboots, which is a potential flaw, as you&#8217;ll see below.</p>
<p>Firefox 3, 3.6 and 3.7 all had consistent numbers across their runs. However, Firefox 3.5 displayed a unique behavior: The first two cold starts were appropriately slow, similar to the cold startup times of the other versions. The subsequent runs were *very* fast for a cold start! I rebooted a few times, and started other versions a few times, then tried a series of 3.5 runs again&#8230; and saw the same thing: the first two runs were in the ballpark of other Firefox versions, but subsequent runs were crazy fast. Vlad was talking earlier in the week about a predictive optimization feature that Windows has, learning from an application&#8217;s behavior to optimize it&#8217;s performance. Possibly that feature works fantastically with Firefox 3.5, and for whatever reason does not work nearly as well with previous or subsequent versions of the app? I&#8217;ve clearly crossed into the realm of fantasy here, so alternate theories are welcome. Perhaps I should round-robin through all versions instead of doing serial runs of the same version.</p>
<p>Firefox 3.5 aside, when measuring cold startup I also see the regression that <a href="http://blog.mozilla.com/adw/2009/09/04/cold-ts/">Drew blogged about</a>. We&#8217;ll get a bug filed and help from QA to get a regression range for this.</p>
<p>Status updates:</p>
<ul>
<li>Startup Timeline: Still not landed, and David found that the timeline instrumentation if put in certain places causes major stability issues. As before, he can provide timeline info for you, just point him at the code by putting [ft] in the whiteboard of your bug.</li>
<li>PGO for Places, mozStorage and SQLite: Still blocking on Rel-Eng fixing <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=486783">bug 486783</a>. I still need to connect with John O&#8217;Duinn and see if we can move this up in the schedule.</li>
<li>JARification: David started working on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509755">moving JS modules into a JAR file</a>. Follow along with all JAR-ification via<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513027"> the tracker bug</a>. Alfred Kayser is working on getting <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510844">bug 510844</a> landed, which should increase throughput of JAR file reading.</li>
<li>JS Component Combining: Further effort is probably not worth it, since these components are fastloaded. Removing the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512827">needless file stats when these are first instantiated</a> is what we need to do. I need to talk to Damon and find a XPConnect/Component-loader person for this.</li>
<li>Static Analysis: No progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506128">Bug 506128</a>. David needs to file a bug with the final log of named-yet-uncalled functions.</li>
<li>Dirty Profile Testing: No progress. Need to list scenarios, file bugs for each, generate Talos config patches and profile data, and then move it into Rel-Eng territory. Also, need to get a separate Tinderbox tree, since it&#8217;s going to cause a bazillion new columns.</li>
<li>Cold Startup Testing: Drew and Alice made a bunch of progress on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=510587">bug 510587</a>, to create a new Ts that measures cold startup. They&#8217;re starting with Mac and Linux, and will tackle Windows later. Drew <a href="http://blog.mozilla.com/adw/2009/09/04/cold-ts/">blogged about their work</a> on this.</li>
<li><a href="http://wagerlabs.com/">Joel Reymont</a> noted in<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513076"> bug 513076</a> that there are serious drawbacks to getting our libraries in the dyld shared cache on Mac, so is deprioritizing that work for now.</li>
<li><a href="http://screwedbydesign.com/blog/2009/09/this-week-in-perf-sep04.php">Ryan Flint blogged about</a> various front-end improvements he&#8217;s working on that affect startup time.</li>
<li>CSS Parsing Time: Zack says his work in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=513149">bug 513149</a> might improve CSS parsing time by 50%, and it&#8217;s next on his list.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autonome.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autonome.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autonome.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autonome.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autonome.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autonome.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autonome.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autonome.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autonome.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autonome.wordpress.com/411/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autonome.wordpress.com&blog=266506&post=411&subd=autonome&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://autonome.wordpress.com/2009/09/06/firefox-startup-performance-weekly-summary/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16de8554bd4d2ec03c1c009935ea61c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dietrich</media:title>
		</media:content>
	</item>
	</channel>
</rss>