<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.maximumpc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Maximum PC TraceMonkey RSS Feed</title>
 <link>http://www.maximumpc.com/tags/TraceMonkey</link>
 <description>used for category lists, takes arguments</description>
 <language>en</language>
<item>
 <title>Murphy&#039;s Law: Is a Firefox 3.5 Really That Fast?</title>
 <link>http://www.maximumpc.com/article/columns/murphys_law_firefox_really_fast-435</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Happy day-after-Firefox-release day. If you&#039;re one of the 3.2 million Americans to download the latest release of the browser as of this column&#039;s writing, congratulations. You, like your peers, have recognized the value of upgrading to faster and better technology products! If that sounds weird, that&#039;s the point. It should. According to &lt;a href=&quot;http://marketshare.hitslink.com/browser-market-share.aspx?qprid=2&quot;&gt;Net Applications&lt;/a&gt;, around twenty percent of users (out of a survey sample of around 160 million people) still use an older version of a Web browser, be it Internet Explorer 6, Firefox 2, or either Safari 3.1 or 3.2. You are not among them; I salute thee. &lt;/p&gt;
&lt;p&gt;You&#039;ve probably read a lot of marketing in the last 24 hours about how fast, awesome, and packed-full of features the new Firefox 3.5 release is. Since you&#039;ve had a chance to play with the release candidate of this latest upgrade starting in early June, this shouldn&#039;t come as much of a surprise. But let&#039;s cut through the press release and examine the real facts: Just how much faster &lt;em&gt;is&lt;/em&gt; Firefox 3.5 over its browser brethren? Has Mozilla&#039;s newest TraceMonkey JavaScript engine delivered a princess or a barrel?&lt;/p&gt;
&lt;p&gt;Yes and no.&lt;/p&gt;
&lt;div style=&quot;text-align: center&quot;&gt;&lt;img src=&quot;/files/u16580/daveblog_firefox305.jpg&quot; width=&quot;415&quot; height=&quot;208&quot; /&gt;&lt;/div&gt;
&lt;p&gt;If we&#039;re just considering a Firefox-only universe then, yes, the browser&#039;s performance is quite an improvement over its predecessor 3.0.11 release. You can partially thank Adobe for that. Mozilla interwove the company&#039;s just-in-time compiler nanojit, released as open-source in 2006, alongside &lt;a href=&quot;http://andreasgal.com/2008/08/22/tracing-the-web/&quot;&gt;a new tracing system&lt;/a&gt; to create Firefox&#039;s new JavaScript engine. Without getting too technical, the tracing engine streamlines Firefox&#039;s operations by recording the path that frequently accessed JavaScript code takes through an interpreter. It then compiles this trace into native code, which can be called up and duplicated faster than passing the code through the interpreter once again. &lt;/p&gt;
&lt;p&gt;The industry-standard &lt;a href=&quot;http://www2.webkit.org/perf/sunspider-0.9/sunspider.html&quot;&gt;SunSpider&lt;/a&gt; JavaScript benchmark attempts to highlight differences in browser performance by running through a series of real-world use patterns. More than that, the program runs through enough iterations of the tests to calculate a measurement of the run&#039;s statistical significance--a determination of the accuracy of your results and their validity for real-world comparisons. Using this very benchmark, Harry McCracken of &lt;a href=&quot;http://technologizer.com/2009/06/30/firefox-3-5-review/&quot;&gt;Technologizer&lt;/a&gt; notes that Firefox 3.5 delivers a performance improvement that&#039;s 2.4 times faster than Firefox 3.0.11. But Google&#039;s Chrome 2.0 beta takes the cyber-cake in the end, just squeaking by Mozilla&#039;s masterpiece on the benchmark charts. &lt;/p&gt;
&lt;h3&gt;(+1) Google Chrome&lt;/h3&gt;
&lt;p&gt;Samara Lynn from &lt;a href=&quot;http://www.crn.com/software/218102111;jsessionid=J3NOS23S5UUOUQSNDLPSKHSCJUNN2JVN&quot;&gt;ChannelWeb&lt;/a&gt; ran her own SunSpider browser evaluation, sticking to Google Chrome, Firefox 3.5, and Internet Explorer 8. Her numbers gave Chrome an advantage of nearly 600 milliseconds, or a 39 percent decrease in time from Firefox 3.5 to Chrome. Internet Explorer 8 sank to the bottom of the listing as if it had a rock tied around its status bar, delivering a time of 8,131.8 milliseconds to Chrome&#039;s 924.2 (lower is better). &lt;/p&gt;
&lt;p&gt; So who&#039;s right? Lynn? McCracken? TGDaily, which puts Chrome&#039;s time at 628.4 milliseconds (a 48 percent decrease compared to Firefox 3.5)? Nobody and everybody. While the rankings between the browsers remain the same within these three sites, as well as my own personal comparisons of Firefox and Chrome in SunSpider, the numbers vary depending on the system setup. That makes it a little difficult to decide the close races, especially since TGDaily has Chrome beating out Safari by roughly 60 milliseconds. At least we can all agree that Chrome is faster than Firefox 3.5, right? &lt;/p&gt;
&lt;h3&gt;(+1) Google Chrome &lt;/h3&gt;
&lt;p&gt;A similar situation occurs on &lt;a href=&quot;http://service.futuremark.com/peacekeeper/index.action&quot;&gt;Futuremark&#039;s Peacekeeper&lt;/a&gt; browser benchmark. Although TGDaily claims that Chrome won&#039;t run it, both Lynn and I received scores when running the program through Google&#039;s browser. She has Chrome beating out Firefox 3.5 by a score of 2747 to 1843, a 49 percent speed increase from Firefox 3.5 to Chrome. I found a 55 percent increase in performance on my own benchmark run, with Chrome overtaking Firefox 3.5 to the tune of 3,073 to 1,978. Just for the sake of a good joke, Lynn pegs Internet Explorer&#039;s performance on this test at a whopping 675. That&#039;s not even half of her recorded score for Firefox. &lt;/p&gt;
&lt;h3&gt;(+1) Google Chrome&lt;/h3&gt;
&lt;p&gt;Just to throw one more benchmark in for good measure--because I don&#039;t exactly trust Google&#039;s Chrome V8 benchmark that suggests Chrome is nine times faster than Firefox 3.5--TG Daily ran one of my favorite evaluations that tests Flash performance in a browser. The run, called &lt;a href=&quot;http://www.lecrabe.net/labo/ps3/test7.html&quot;&gt;Le Crabe&lt;/a&gt;, measures how many individual animations your screen can hold before the frames-per-second score dips below a particular amount (25). On this, Firefox 3.5 crushed the competition, holding out for 636 total crabs on TG Daily&#039;s setup to Google Chrome&#039;s 241. Stranger still, even Internet Explorer itself pulled out of dead last to deliver an impressive second-place performance amongst Firefox 3.5, Safari, and Chrome.&lt;br /&gt;
&lt;h3&gt;(+1) Firefox 3.5&lt;/h3&gt;
&lt;p&gt;You made it this far--so which browser is faster? Eh. To really get a sense of how your browser performs, you have to factor in more than just the JavaScript benchmark numbers. What&#039;s the memory use of the browser? What kind of content exists on the sites are you hitting up? What&#039;s your Internet connection? While these benchmarking tools have allows us to legitimize the differences between Firefox&#039;s versions on a functional level, and help highlight the various browsers&#039; abilities in certain areas of rendering, there&#039;s no clear-cut winner based on the numbers. After all, it&#039;s difficult to weigh certain performance aspects over others. And as you&#039;ve seen, individual performance characteristics can vary greatly depending on the testing platform. Browser benchmarks are great for comparing version performance--for a big-picture guide, there&#039;s just so much more to consider.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Speed up your geek involvement by befriending &lt;a href=&quot;http://twitter.com/acererak&quot;&gt;David Murphy @acererak&lt;/a&gt;.  He&#039;s three-point-five times as fast a twitterer as any other geek, save perhaps Nathan.&lt;/strong&gt;&lt;/p&gt;
</description>
 <comments>http://www.maximumpc.com/article/columns/murphys_law_firefox_really_fast-435#comments</comments>
 <category domain="http://www.maximumpc.com/taxonomy/term/7251">3.5</category>
 <category domain="http://www.maximumpc.com/geek_tested/apple">apple</category>
 <category domain="http://www.maximumpc.com/geek_tested/benchmark">benchmark</category>
 <category domain="http://www.maximumpc.com/taxonomy/term/4788">chrome</category>
 <category domain="http://www.maximumpc.com/taxonomy/term/34">Columns</category>
 <category domain="http://www.maximumpc.com/geek_tested/firefox">firefox</category>
 <category domain="http://www.maximumpc.com/geek_tested/google">Google</category>
 <category domain="http://www.maximumpc.com/geek_tested/javascript">JavaScript</category>
 <category domain="http://www.maximumpc.com/geek_tested/mozilla">Mozilla</category>
 <category domain="http://www.maximumpc.com/geek_tested/performance">performance</category>
 <category domain="http://www.maximumpc.com/geek_tested/safari">Safari</category>
 <category domain="http://www.maximumpc.com/taxonomy/term/4718">TraceMonkey</category>
 <category domain="http://www.maximumpc.com/taxonomy/term/147">Web Exclusive</category>
 <pubDate>Wed, 01 Jul 2009 12:45:58 -0500</pubDate>
 <dc:creator>David Murphy</dc:creator>
 <guid isPermaLink="false">6816 at http://www.maximumpc.com</guid>
</item>
<item>
 <title>TraceMonkey Will Supercharge JavaScript Execution in Future Firefox Versions</title>
 <link>http://www.maximumpc.com/article/news/tracemonkey_will_supercharge_javascript_execution_future_firefox_versions</link>
 <description>&lt;!--paging_filter--&gt;&lt;div style=&quot;text-align: center&quot;&gt;&lt;img src=&quot;/files/u21826/Header-fftm_0.png&quot; alt=&quot;TraceMonkey blows Firefox 3&#039;s JavaScript renderer away&quot; width=&quot;410&quot; height=&quot;217&quot; /&gt;&lt;/div&gt;
&lt;p&gt;In Firefox 3, JavaScript execution is already 20% faster than in Firefox 2. That&#039;s great, but it&#039;s minimal compared to the speedups coming in future Firefox versions, thanks to a new JavaScript rendering engine called TraceMonkey now in development at Mozilla (Firefox 3&#039;s JavaScript rendering engine is known as SpiderMonkey).&lt;/p&gt;
&lt;p&gt;Techspot.com &lt;a href=&quot;http://www.techspot.com/news/31351-mozilla-touts-major-javascript-performance-boost.html&quot;&gt;reports&lt;/a&gt; that the new TraceMonkey JavaScript execution engine coming in future versions of Firefox will provide at least a 2x performance increase over SpiderMonkey, based on information &lt;a href=&quot;http://shaver.off.net/diary/2008/08/22/the-birth-of-a-faster-monkey/&quot;&gt;posted&lt;/a&gt; by Mozilla&#039;s Mike Shaver (its VP of Engineering).  However, that might be a conservative estimate. Shaver reports that TraceMonkey runs core JavaScript primitives such as function call, global loop, and empty loop at at speeds over 20 times faster than in Firefox 3. Benchmark performance (see figure accompanying this article) is just as impressive. According to Shaver:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The goal of the TraceMonkey project — which is still in its early stages — is to take JavaScript performance to another level, where instead of competing against other interpreters, we start to compete against native code. &lt;/p&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So, how long before TraceMonkey elbows SpiderMonkey out of the way as &amp;quot;top monkey&amp;quot; in the Firefox JavaScript execution game? A stripped-down version of TraceMonkey is now being incorporated into Firefox 3.1 (it&#039;s turned off by default in current builds), but the full version of TraceMonkey won&#039;t see the light of day until version 4.0, according to Techspot.com.&lt;/p&gt;
&lt;p&gt;Faster JavaScript execution could mean a much smarter (as well as faster) web browser. What would you like to see the code jockeys at Mozilla and elsewhere do with all that extra speed? Hit the comments button and let us know.&lt;/p&gt;
&lt;p&gt;Illustration courtesy of &lt;a href=&quot;http://shaver.off.net/diary&quot;&gt;Shaver Noise From Signal&lt;/a&gt;. &lt;/p&gt;
</description>
 <comments>http://www.maximumpc.com/article/news/tracemonkey_will_supercharge_javascript_execution_future_firefox_versions#comments</comments>
 <category domain="http://www.maximumpc.com/article_type/news_amp_views">News</category>
 <category domain="http://www.maximumpc.com/article_type/news/windows">Windows</category>
 <category domain="http://www.maximumpc.com/geek_tested/firefox">firefox</category>
 <category domain="http://www.maximumpc.com/geek_tested/javascript">JavaScript</category>
 <category domain="http://www.maximumpc.com/geek_tested/mozilla">Mozilla</category>
 <category domain="http://www.maximumpc.com/taxonomy/term/4717">SpiderMonkey</category>
 <category domain="http://www.maximumpc.com/taxonomy/term/4718">TraceMonkey</category>
 <category domain="http://www.maximumpc.com/taxonomy/term/2783">web browser</category>
 <pubDate>Tue, 26 Aug 2008 08:27:34 -0500</pubDate>
 <dc:creator>Mark Edward Soper</dc:creator>
 <guid isPermaLink="false">3323 at http://www.maximumpc.com</guid>
</item>
</channel>
</rss>
