<?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/"
	>

<channel>
	<title>Shawn Wilsher</title>
	<atom:link href="http://shawnwilsher.com/feed" rel="self" type="application/rss+xml" />
	<link>http://shawnwilsher.com</link>
	<description></description>
	<lastBuildDate>Sun, 29 Aug 2010 12:15:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>sdwilsh Status Update: 2010-08-29</title>
		<link>http://shawnwilsher.com/archives/464</link>
		<comments>http://shawnwilsher.com/archives/464#comments</comments>
		<pubDate>Sun, 29 Aug 2010 12:15:27 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
      
          
            Done: 
At least ten reviews, mostly for the developer tools group.  Some day I&#039;ll list the reviews I do in these updates, but today is not that day
Hacked a bit on compare-talos (file issues if you find bugs or want ...]]></description>
			<content:encoded><![CDATA[
      <div class="postdata">
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>At least ten reviews, mostly for the developer tools group.  Some day I&#039;ll list the reviews I do in these updates, but today is not that day</li>
<li>Hacked a bit on <a href="http://bitbucket.org/mconnor/compare-talos/">compare-talos</a> (<a href="http://bitbucket.org/mconnor/compare-talos/issues/new">file issues</a> if you find bugs or want a feature!) to make it more useful for the next item</li>
<li>Fixed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=583611" title="Upgrade to SQLite 3.7.1">bug 583611</a> (blocker)</li>
<li>Fixed a <a href="http://hg.mozilla.org/mozilla-central/rev/2f01056be931">pymake bustage</a> so people on windows could build with it again</li>
<li>Created a patch which got checked in (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=587573#c28">albeit with a poor commit message</a>) to fix an issue where the implementation didn&#039;t do what the docs said in docshell code for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=587573" title="Log image requests to the WebConsole">bug 587573</a> (blocker)</li>
<li>Fixed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=590654" title="Let JavaScript read embedded nulls from input streams">bug 590654</a> (blocker)</li>
<li>Fixed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519769" title="Open shared/unshared connection with options instead of setting shared state always">bug 519769</a> (blocked <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=583882" title="Need a way to clone an existing connection">bug 583882</a>)</li>
<li>Fixed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=583882" title="Need a way to clone an existing connection">bug 583882</a> (blocker)</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Blog posts on results from most recent data collection for <a href="https://wiki.mozilla.org/Firefox/Projects/2010Q3_Dirty_Startup_Reduction">goal</a>.</li>
<li>Blockers</li>
<li>Reviews</li>
</ul>
          </div>
          <div class="tags">
            <h4 class="posthead">Coordination:</h4> <p>I&#039;m out Friday, so don&#039;t expect to find me anywhere.</p>
          </div>
      </div>
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/464/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-08-20</title>
		<link>http://shawnwilsher.com/archives/463</link>
		<comments>http://shawnwilsher.com/archives/463#comments</comments>
		<pubDate>Fri, 20 Aug 2010 14:26:45 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
      
          
            Done: Got diverted this week to help identify a performance regression for mak.  Bunch of stuff will be carried over to next week as a result.

A small number of reviews

          
          
            Next: 
Get throu...]]></description>
			<content:encoded><![CDATA[
      <div class="postdata">
          <div class="completed">
            <h4 class="posthead">Done:</h4> <p>Got diverted this week to help identify a performance regression for mak.  Bunch of stuff will be carried over to next week as a result.</p>
<ul>
<li>A small number of reviews</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Get through my ever-growing review queue (or at least shrink it)</li>
<li>Created a patch to backout <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=178506" title="save original last-modified date on file downloads">bug 178506</a>, which landed back in January, because new data came to light making it a Very Bad Idea.  Landed it and now a bunch of people hate me.</li>
<li>Hacked a bit on <a href="http://bitbucket.org/mconnor/compare-talos/">compare-talos</a> (<a href="http://bitbucket.org/mconnor/compare-talos/issues/new">file issues</a> if you find bugs or want a feature!) to make it more useful for the next item.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=573492#c38">Identified the cause of a Ts regression</a> when we tried to enable <a href="http://www.sqlite.org/wal.html">WAL</a> for places in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=573492" title="Use WAL journaling for places.sqlite">bug 573492</a>.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=573492#c39">Created a plan on how to move forward</a> in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=573492" title="Use WAL journaling for places.sqlite">bug 573492</a> for mak&#039;s input when he gets back from vacation.</li>
</ul>
          </div>
          <div class="tags">
            <h4 class="posthead">Coordination:</h4> <ul>
<li>Work with mak on enabling WAL for places.sqlite</li>
</ul>
          </div>
      </div>
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/463/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Startup Time in the Wild Take Two</title>
		<link>http://shawnwilsher.com/archives/448</link>
		<comments>http://shawnwilsher.com/archives/448#comments</comments>
		<pubDate>Fri, 13 Aug 2010 19:20:45 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[add-ons]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[session restore]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=448</guid>
		<description><![CDATA[This week, I spent some time looking at some real life profiles that were sent into us by users seeing startup time in the minutes. The tests were ran just like I ran the test on my profile: all add-ons disabled. The results I got are both good and bad, but first the results! Results [...]]]></description>
			<content:encoded><![CDATA[<p>This week, I spent some time looking at some real life profiles that were sent into us by users seeing startup time in the minutes.  The tests were ran just like I ran the test on my profile: all add-ons disabled.  The results I got are both good and bad, but first the results!</p>
<h2>Results</h2>
<p>The first shows the raw test run data (which isn’t terribly interesting). The second compares the reported startup time for each test. You will probably want to click to zoom in.</p>
<div align="center"><a href="http://shawnwilsher.com/wp-content/uploads/2010/08/data.png"><img src="http://shawnwilsher.com/wp-content/uploads/2010/08/data-300x217.png" alt="" title="Raw Data" width="300" height="217" class="aligncenter size-medium wp-image-453" /></a></div>
<p><br/></p>
<div align="center"><a href="http://shawnwilsher.com/wp-content/uploads/2010/08/startup.png"><img src="http://shawnwilsher.com/wp-content/uploads/2010/08/startup-300x217.png" alt="" title="Startup Comparison" width="300" height="217" class="aligncenter size-medium wp-image-454" /></a></div>
<h2>Conclusions</h2>
<p>Like I said, the results are both good and bad.  Good in that I now have a pretty good idea on why people have bad startup times.  Bad in that we don&#8217;t have any way to quickly improve the issues that people are seeing.  What I see from this data is that profiles in the wild, with add-ons disabled aren&#8217;t much slower than a clean profile.  This seems to implicate add-ons being at least part of the problem (which we knew) or possibly all of the problem at this point (for the profiles tested).  The good news is that the add-ons team is already working on solutions to this, and you should expect some blog posts from them about this soon.</p>
<h2>Next Step</h2>
<p>Next week I&#8217;m going to spend some time getting numbers with these profiles on the latest release of Firefox 3.6 with and without add-ons disabled to compare.  This will pretty much confirm or deny my hypothesis of this week&#8217;s results.</p>
<h2>News on the Past</h2>
<p>In my <a href="http://shawnwilsher.com/archives/421">last post</a>, we looked at my profile with various pieces removed to try and figure out why startup might be slow for people.  With those results, I identified two issues that would impact startup the most:</p>
<ol>
<li>Large cookies.sqlite</li>
<li>Many tabs being restored</li>
</ol>
<p>I also have good news about both of these issues!  The <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=572223">cookies.sqlite issue is now fixed</a> and will be a part of beta 4, and <a href="http://zpao.com/">Paul</a> has <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=582005#c10">some good data</a> about session restore and tabs (with more to come).</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/448/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-08-13</title>
		<link>http://shawnwilsher.com/archives/462</link>
		<comments>http://shawnwilsher.com/archives/462#comments</comments>
		<pubDate>Fri, 13 Aug 2010 15:18:57 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
      
          
            Done: 
A few reviews (not many this week!)
Blog post with more &#34;dirty&#34; profile goal stuff.
Fixed blocker bug 581000
Sheriff duty
Discussions on IndexedDB in public-webapps

          
          
            Next...]]></description>
			<content:encoded><![CDATA[
      <div class="postdata">
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>A few reviews (not many this week!)</li>
<li><a href="http://shawnwilsher.com/archives/448">Blog post</a> with more <a href="https://wiki.mozilla.org/Firefox/Projects/2010Q3_Dirty_Startup_Reduction">&quot;dirty&quot; profile goal stuff</a>.</li>
<li>Fixed blocker <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=581000" title="Upgrade to SQLite 3.7.0.1">bug 581000</a></li>
<li>Sheriff duty</li>
<li>Discussions on IndexedDB in public-webapps</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Fix blockers</li>
<li>Collect more data for <a href="https://wiki.mozilla.org/Firefox/Projects/2010Q3_Dirty_Startup_Reduction">&quot;dirty&quot; startup goal</a>.</li>
</ul>
          </div>
      </div>
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/462/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bugzilla Helper 0.4.2 Released</title>
		<link>http://shawnwilsher.com/archives/444</link>
		<comments>http://shawnwilsher.com/archives/444#comments</comments>
		<pubDate>Tue, 10 Aug 2010 22:13:05 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Bugzilla Helper]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=444</guid>
		<description><![CDATA[You can go grab it on AMO or wait for Thunderbird to tell you to update. This contains a one-line work around that makes the add-on work after the semi-recent change in the API. You can read all the fun details over in bug 586032.]]></description>
			<content:encoded><![CDATA[<p>You can <a href="https://addons.mozilla.org/en-US/thunderbird/addon/45501/">go grab it on AMO</a> or wait for Thunderbird to tell you to update.  This contains a <a href="http://hg.mozilla.org/users/sdwilsh_shawnwilsher.com/bugzilla-helper/rev/53d8f9a29d28">one-line work around</a> that makes the add-on work after the semi-recent change in the API.  You can read all the fun details over in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=586032" title="Recent changes broke submitting comments (possibly more)">bug 586032</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/444/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-08-06</title>
		<link>http://shawnwilsher.com/archives/443</link>
		<comments>http://shawnwilsher.com/archives/443#comments</comments>
		<pubDate>Fri, 06 Aug 2010 15:54:50 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
      
          
            Done: Two week update because I was lazy^H^H^H^Hbusy.

A bunch more reviews.
Blog post up on results from initial testing of &#34;dirty&#34; profile startup goal.
Fixed blocking bug 582656
Fixed bug 584111
Landed and th...]]></description>
			<content:encoded><![CDATA[
      <div class="postdata">
          <div class="completed">
            <h4 class="posthead">Done:</h4> <p>Two week update because I was lazy^H^H^H^Hbusy.</p>
<ul>
<li>A bunch more reviews.</li>
<li><a href="http://shawnwilsher.com/archives/421">Blog post up on results from initial testing</a> of <a href="https://wiki.mozilla.org/Firefox/Projects/2010Q3_Dirty_Startup_Reduction">&quot;dirty&quot; profile startup goal</a>.</li>
<li>Fixed blocking <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=582656" title="NS_EVENT_STATE_HANDLER_CRASHED == NS_EVENT_STATE_INDETERMINATE">bug 582656</a></li>
<li>Fixed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=584111" title="Better logging of errors for places autocomplete">bug 584111</a></li>
<li>Landed and then backed out <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=581000" title="Upgrade to SQLite 3.7.0">bug 581000</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=580790" title="Connection::initialize can access preferences off of the main thread">bug 580790</a>, and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=568969" title="Nuke nsContentUtils::GetHistory">bug 568969</a> for various reasons.</li>
<li>Discussions on IndexedDB in public-webapps</li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Update <a href="https://addons.mozilla.org/en-US/thunderbird/addon/45501/">Bugzilla Helper</a> because it is starting to hurt my productivity (and others)</li>
<li>Figure out a good way to get a list of things I reviewed for this status update that doesn&#039;t involve me tracking it manually</li>
<li>Fix the blockers that I tried to land but backed out</li>
<li>Profile the dirty profiles that limi collected</li>
</ul>
          </div>
      </div>
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/443/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Startup Time in the Wild</title>
		<link>http://shawnwilsher.com/archives/421</link>
		<comments>http://shawnwilsher.com/archives/421#comments</comments>
		<pubDate>Mon, 26 Jul 2010 17:31:14 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[places]]></category>
		<category><![CDATA[session restore]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=421</guid>
		<description><![CDATA[Over the weekend I spent some serious time with my computer running a bunch of tests with standalone talos in 11 different situations. First, a disclaimer: these tests were only designed to give some insight on the areas we should focus on for the goal. Each of these tests was reproduced at least once before [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend I spent some serious time with my computer running a bunch of tests with <a href="https://wiki.mozilla.org/StandaloneTalos">standalone talos</a> in 11 different situations.  First, a disclaimer: these tests were only designed to give some insight on the areas we should focus on for <a href="https://wiki.mozilla.org/Firefox/Projects/2010Q3_Dirty_Startup_Reduction">the goal</a>.  Each of these tests was reproduced at least once before I moved onto the next one in order to make sure the numbers were stable.</p>
<h2>The Tests</h2>
<ul>
<li>Clean profile.  This is just the standard profile that we normally run Ts with on tinderbox.  This is basically used a baseline for best possible performance.</li>
<li>Dirty profile.  This is actually my daily profile, with eight tabs that will open through session restore during startup.  Because of how talos works, these tabs don&#8217;t all have to load for the number to be generated.  Even so, you&#8217;ll notice a substantial slowdown.  Sadly, I fear I modified the profile I was using in a bad way because I can no longer reproduce the numbers I got (but the numbers recorded were reproduced four times before I moved on to the rest of the tests initially).</li>
<li>Bookmarks toolbar disabled.  This is a variation on the dirty profile test that just disables the bookmarks toolbar.</li>
<li>No places.  This is a variation on the dirty profile test that removes places files from the profile.</li>
<li>No <code>sessionstore.js</code>.  This is a variation on the dirty profile test that removes <code>sessionstore.js</code> from the profile.  This has the side effect of also not making the eight tabs load at startup.</li>
<li>No urlclassifier.  This is a variation on the dirty profile test that removes the urlclassifier related files from the profile.</li>
<li>No <code>cookies.sqlite</code>.  This is a variation on the dirty profile test that removes <code>cookies.sqlite</code> from the profile.</li>
<li>No extensions.  This is a variation on the dirty profile test that removes all add-on manager bits in the profile.</li>
<li>No <code>formhistory.sqlite</code>.  This is a variation on the dirty profile test that removes <code>formhistory.sqlite</code> from the profile.</li>
<li>No <code>downloads.sqlite</code>.  This is a variation on the dirty profile test that removes <code>downloads.sqlite</code> from the profile.</li>
<li>No <code>content-prefs.sqlite</code>.  This is a variation on the ditry profile test that removes <code>content-prefs.sqlite</code> from the profile.</li>
</ul>
<h2>Results</h2>
<p>I&#8217;m going to let some graphs do the talking here.  The first shows the raw test run data (which isn&#8217;t terribly interesting).  The second compares the reported startup time for each test.  You will probably want to click to zoom in.</p>
<div align="center"><a href="http://shawnwilsher.com/wp-content/uploads/2010/07/startup-data.png"><img src="http://shawnwilsher.com/wp-content/uploads/2010/07/startup-data-300x196.png" alt="Data of the startup time runs" title="Startup Data" width="300" height="196" class="alignnone size-medium wp-image-428" /></a></div>
<p><br/></p>
<div align="center"><a href="http://shawnwilsher.com/wp-content/uploads/2010/07/startup-time.png"><img src="http://shawnwilsher.com/wp-content/uploads/2010/07/startup-time-300x196.png" alt="Startup time of the various tests" title="Startup Time" width="300" height="196" class="alignnone size-medium wp-image-429" /></a></div>
<h2>Conclusions</h2>
<p>It looks like the best wins that we can get are related to fixing session restore to not scale linearly with the number of tabs it is restoring, and reduce the startup time costs of loading places files and <code>cookies.sqlite</code>.  It should be noted that this test was not measuring the load time for each tab, so something like <a href="https://addons.mozilla.org/en-US/firefox/addon/67651/">BarTab</a> would not help in this case.  The other good news is that <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=572223" title="too much cookies.sqlite io">we already have work underway to make cookies.sqlite load time not hurt</a> us so much during startup.</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/421/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Perilous Performance Proportions</title>
		<link>http://shawnwilsher.com/archives/410</link>
		<comments>http://shawnwilsher.com/archives/410#comments</comments>
		<pubDate>Sat, 24 Jul 2010 21:09:32 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[session restore]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=410</guid>
		<description><![CDATA[Recently, I started working on one of our Q3 goals to reduce &#8220;dirty&#8221; profile startup time to be only 20% of normal startup time. It is a pretty big and scary problem, and is probably the hardest problem I have ever worked on for the Mozilla project (I have had some doozies in the past [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I started working on one of our Q3 goals <a href="https://wiki.mozilla.org/Firefox/Projects/2010Q3_Dirty_Startup_Reduction">to reduce &#8220;dirty&#8221; profile startup time to be only 20% of normal startup time</a>.  It is a pretty big and scary problem, and is probably the hardest problem I have ever worked on for the Mozilla project (I have had some doozies in the past too&#8230;).  So far I have only spent time trying to get consistent results of startup time with a dirty profile (of the Firefox kind) so I can then compare profiles (of the <a href="http://en.wikipedia.org/wiki/Profiling_%28computer_programming%29">program profile</a> kind) to a clean profile (of the Firefox kind).  For now, I am just using a copy of my own profile to get some data (no, you cannot have a copy of it).</p>
<p>Unfortunately, I immediately hit a bit of a speed bump.  I think a picture best explains this:</p>
<div align="center"><a href="http://shawnwilsher.com/wp-content/uploads/2010/07/startup.png"><img src="http://shawnwilsher.com/wp-content/uploads/2010/07/startup-300x218.png" alt="chart of dirty startup" title="Dirty Startup Chart" width="300" height="218" class="size-medium wp-image-412" /></a></div>
<p>This is a chart of the 20 runs talos does when measuring startup time.  As you can see, the dirty profile kept on increasing each and every run.  After about a day of investigating this, the cause is finally known: tabs.  Turns out, talos tries to quit the browser before calling <code>window.close()</code>, which results in the tabs not closing.  As a result, at the end of the 20 cycles, we were loading 19 more tabs than the first cycle.  I <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=581711" title="goQuitApplication called before window.close()">filed a bug about this behavior against talos</a>.  It does not matter now, but if we ever decide to change the default preference in Firefox to load your windows and tabs from last time this will come back to bite us.</p>
<p>I did learn something useful out of all of this though: startup time scales linearly with the number of tabs session restore has to restore.  I confirmed this by running talos with 200 cycles instead of the normal 20, and it was clearly a linear increase.  We should probably figure out a way to mitigate that, but I have not filed a bug on it (yet!).</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/410/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>sdwilsh Status Update: 2010-07-24</title>
		<link>http://shawnwilsher.com/archives/420</link>
		<comments>http://shawnwilsher.com/archives/420#comments</comments>
		<pubDate>Sat, 24 Jul 2010 15:03:09 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
      
          
            Done: 
Caught up on bugmail after vacation
A few reviews
Started to work on &#34;dirty&#34; profile startup goal.  Found an issue with the testing methodology, so I&#039;m revising it and trying again.  Target is to get...]]></description>
			<content:encoded><![CDATA[
      <div class="postdata">
          <div class="completed">
            <h4 class="posthead">Done:</h4> <ul>
<li>Caught up on bugmail after vacation</li>
<li>A few reviews</li>
<li>Started to work on <a href="https://wiki.mozilla.org/index.php?title=Firefox/Projects/2010Q3_Dirty_Startup_Reduction">&quot;dirty&quot; profile startup goal</a>.  <a href="http://shawnwilsher.com/archives/410">Found an issue with the testing methodology</a>, so I&#039;m revising it and trying again.  Target is to get some ideas on what we need to fix for the goal by Tuesday&#039;s platform meeting.</li>
<li>Fixed the following blockers:<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=581000">Bug 581000</a> - Upgrade to SQLite 3.7.0</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=578939">Bug 578939</a> - Storage service cannot be initialized off of the main thread</li>
</ul></li>
<li>Fixed the following bugs:<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=575667">Bug 575667</a> - split about:memory reporting into more detailed sections for SQLite (<a href="http://shawnwilsher.com/archives/405">blog post about it</a>)</li>
</ul></li>
</ul>
          </div>
          <div class="planned">
            <h4 class="posthead">Next:</h4> <ul>
<li>Get a plan of attack together for <a href="https://wiki.mozilla.org/index.php?title=Firefox/Projects/2010Q3_Dirty_Startup_Reduction">&quot;dirty&quot; profile startup goal</a>.</li>
<li>Tackle some of the 15 reviews in my review queue (blockers first!)</li>
<li>Look into fixing another blocker (I have no more b3 blockers, just beta N ones.)</li>
</ul>
          </div>
      </div>
    ]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/420/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better SQLite Memory Reporting Coming to a Nightly Near You</title>
		<link>http://shawnwilsher.com/archives/405</link>
		<comments>http://shawnwilsher.com/archives/405#comments</comments>
		<pubDate>Thu, 22 Jul 2010 18:12:37 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[about:memory]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=405</guid>
		<description><![CDATA[I just landed bug 575667 into mozilla-central which adds more detailed reporting about the memory used by SQLite. Some people have been complaining to me that SQLite is using an awful lot of memory lately. My hunch was that most of this was the page cache (so you don&#8217;t have to hit the disk for [...]]]></description>
			<content:encoded><![CDATA[<p>I just landed <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=575667" title="split about:memory reporting into more detailed sections">bug 575667</a> into mozilla-central which adds more detailed reporting about the memory used by SQLite.  Some people have been complaining to me that SQLite is using an awful lot of memory lately.  My hunch was that most of this was the page cache (so you don&#8217;t have to hit the disk for every read), but with the next nightly those people can see for themselves.  Now, instead of just indicating how much memory is being used, about:memory states how much is being used by the page cache and how much other memory is being used by SQLite.  We are also planning to split this up more, but are waiting for the SQLite team to provide some APIs first.</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/405/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.389 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-02 11:30:29 -->
