<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.jbkempf.com/blog/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Yet another blog for JBKempf - Tag - beta4</title>
  <link>http://www.jbkempf.com/blog/</link>
  <atom:link href="http://www.jbkempf.com/blog/feed/tag/beta4/rss2" rel="self" type="application/rss+xml"/>
  <description>This is the blog of Jean-Baptiste Kempf. I will share some info about my life, my works and my VideoLAN work</description>
  <language>en</language>
  <pubDate>Thu, 20 Nov 2008 12:22:28 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Firefox 3 beta4: Performances improvements.</title>
    <link>http://www.jbkempf.com/blog/post/2008/03/11/Firefox-3-beta4%3A-Performances-improvements</link>
    <guid isPermaLink="false">urn:md5:e45716666fe3d691fe00fb0270134ced</guid>
    <pubDate>Tue, 11 Mar 2008 12:22:00 +0100</pubDate>
    <dc:creator>JBK</dc:creator>
        <category>Geek &amp; Computer</category>
        <category>Benchmark</category><category>beta4</category><category>browser</category><category>Firefox 3</category><category>Javascript</category>    
    <description>    &lt;h2&gt;Firefox 3&lt;/h2&gt;


&lt;p&gt;&lt;a href=&quot;http://www.jbkempf.com/blog/tag/Firefox%203&quot;&gt;Firefox 3&lt;/a&gt; is in the works, approaching the release. The &lt;a href=&quot;http://www.jbkempf.com/blog/tag/beta4&quot;&gt;beta4&lt;/a&gt; is out and runs.&lt;/p&gt;


&lt;p&gt;I tried to benchmark it a bit, especially on &lt;a href=&quot;http://www.jbkempf.com/blog/tag/JavaScript&quot;&gt;JavaScript&lt;/a&gt; performance and memory consumption.&lt;/p&gt;




&lt;h2&gt;Javascript Testing: Methodology&lt;/h2&gt;

&lt;p&gt;The javascript has been used with the &lt;a href=&quot;http://webkit.org/perf/sunspider-0.9/sunspider.html&quot; hreflang=&quot;en&quot;&gt;sunspider javascript  test &lt;/a&gt; that was run 5 times, on freshly installed firefox.&lt;/p&gt;


&lt;p&gt;The tests were run using Firefox 2, Firefox 3 beta3 and Firefox 3 beta 4.&lt;/p&gt;


&lt;p&gt;The tests were done on Windows XP and Linux, using 3 different machines:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Thinkpad T61p Core2 Duo 7500, with 2GB of RAM&lt;/li&gt;
&lt;li&gt;Dell Pentium 4 3,4 Ghz, with 1GB of RAM&lt;/li&gt;
&lt;li&gt;HP Celeron 2Ghz, with 512 of RAM&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Javascript Testing:  Results&lt;/h2&gt;

&lt;p&gt;Those results are an average of the complete 5 times tests.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;The results show a &lt;em&gt;5x&lt;/em&gt; to &lt;em&gt;3x&lt;/em&gt; speedup in Javascript performance from Firefox 2 to Firefox 3!&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;From Firefox 3 beta 3 to Firefox 3 beta 4, the speedup is between 2x and 3x.&lt;/p&gt;


&lt;p&gt;I will detail the results for the fastest and the slowest machine on Windows.&lt;/p&gt;


&lt;h3&gt;Faster machine&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Firefox 2&lt;/em&gt; : &lt;strong&gt;15688.1ms&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Firefox 3 beta3&lt;/em&gt; : &lt;strong&gt;10016.8ms&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Firefox 3 beta4&lt;/em&gt; : &lt;strong&gt;5158.4ms&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Speedup&lt;/em&gt; : 304%&lt;/p&gt;


&lt;h3&gt;Slower machine&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Firefox 2&lt;/em&gt; : &lt;strong&gt;51456.1ms&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Firefox 3 beta3&lt;/em&gt; : &lt;strong&gt;27556.2ms&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Firefox 3 beta4&lt;/em&gt; : &lt;strong&gt;10923.8ms&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Speedup&lt;/em&gt;: 471%&lt;/p&gt;


&lt;h2&gt;Memory Benchmark: Methodology&lt;/h2&gt;


&lt;p&gt;On windows XP and Linux,  I opened a fresh browser and opened&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;lemonde.fr&lt;/li&gt;
&lt;li&gt;www.nytimes.fr&lt;/li&gt;
&lt;li&gt;slashdot.org&lt;/li&gt;
&lt;li&gt;pcinpact.com&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then I reclosed the browser and opened many many tabs.&lt;/p&gt;


&lt;p&gt;I monitored the &lt;em&gt;stabilized&lt;/em&gt; memory consumption.&lt;/p&gt;


&lt;h2&gt;Memory Benchmark: Results&lt;/h2&gt;


&lt;p&gt;I wasn't impressed by the results, because I have found that Firefox 3 beta 4 takes around &lt;strong&gt;10% more&lt;/strong&gt; memory than Firefox2 on Windows and Linux on the first test on the faster machine (56MB vs 50.5MB).&lt;/p&gt;


&lt;p&gt;On the second test, with many more tabs, I have found that the memory is usually around the same, but not really better.&lt;/p&gt;


&lt;p&gt;On a long way use, I didn't have any huge memleaks with Firefox using 400MB of RAM quite suddenly, but I am working on it to make it do that too :D&lt;/p&gt;


&lt;h2&gt;Conclusion&lt;/h2&gt;


&lt;p&gt;Firefox 3 is way faster in Javascript handling, a bit better in memory consumption, (it takes more memory but seems to not leak like a madman) and overall it seems faster to load pages (just a feeling), compared to Firefox 2.&lt;/p&gt;


&lt;p&gt;According to my tests, it is faster than IE7/IE8beta1, Opera 9.5 in Javascript performance.&lt;/p&gt;


&lt;p&gt;Then &lt;em&gt;GO and USE it.&lt;/em&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.jbkempf.com/blog/post/2008/03/11/Firefox-3-beta4%3A-Performances-improvements#comment-form</comments>
      <wfw:comment>http://www.jbkempf.com/blog/post/2008/03/11/Firefox-3-beta4%3A-Performances-improvements#comment-form</wfw:comment>
      <wfw:commentRss>http://www.jbkempf.com/blog/feed/atom/comments/123</wfw:commentRss>
      </item>
    
</channel>
</rss>