<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Dan Siemon &#187; Firefox</title>
	<atom:link href="http://www.coverfire.com/archives/tag/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coverfire.com</link>
	<description>Thoughts and musings</description>
	<lastBuildDate>Sun, 05 Feb 2012 18:33:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/ca/</creativeCommons:license>		<item>
		<title>Linux x86_64 and Javascript</title>
		<link>http://www.coverfire.com/archives/2010/03/29/linux-x86_64-and-javascript/</link>
		<comments>http://www.coverfire.com/archives/2010/03/29/linux-x86_64-and-javascript/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 02:45:39 +0000</pubDate>
		<dc:creator>Dan Siemon</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.coverfire.com/?p=686</guid>
		<description><![CDATA[The competition between browsers in the area of Javascript performance has led to some pretty dramatic performance increases in the last couple of years. A lot of this has been accomplished through Javascript just in time (JIT) compilers. What JITs &#8230; <a href="http://www.coverfire.com/archives/2010/03/29/linux-x86_64-and-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="background-color: #ffffff;">The competition between browsers in the area of Javascript performance has led to some pretty dramatic performance increases in the last couple of years. A lot of this has been accomplished through Javascript just in time (JIT) compilers. What JITs do is convert the Javascript into native instructions which execute a lot faster than more abstract forms. The one downside to this approach is that each native architecture must be supported to get the speed boost.</span></p>
<p>If you follow Javascript performance you know that recent versions of Firefox have a JIT. What you may not know is that there is no JIT in Firefox for x86_64. This isn&#8217;t that big of a problem for Windows since there are so few 64-bit windows users but Linux distributions have been native 64-bit for quite some time. So if you&#8217;ve installed a 64-bit version of your faviourite Linux distribution you are getting far slower Javascript performance in Firefox than if you had installed the i686 version. How much slower?</p>
<p>The following benchmarks were executed on an i7-930 running Fedora 12, Firefox 3.5.8 and Epiphany 2.28.2. The benchmarks I used are the <a title="SunSpider" href="http://www2.webkit.org/perf/sunspider-0.9/sunspider.html">SunSpider</a> and <a title="V8 Javascript benchmark" href="http://v8.googlecode.com/svn/data/benchmarks/v5/run.html">V8</a> Javascript benchmarks.</p>
<table>
<tbody>
<tr>
<td>Browser/arch</td>
<td>V8 (higher is better)</td>
<td>SunSpider (lower is better)</td>
</tr>
<tr>
<td>Firefox i686 PAE</td>
<td>402</td>
<td>1002.6ms</td>
</tr>
<tr>
<td>Firefox x86_64</td>
<td>277</td>
<td>2131.2ms</td>
</tr>
<tr>
<td>Epiphany x86_64</td>
<td>887</td>
<td>1261.0ms</td>
</tr>
</tbody>
</table>
<p>These results show that the Javascript performance of i686 Firefox is a lot better than x86_64. The Epiphany web browser is based on Webkit which, based on these results, I&#8217;m guessing does have a x86_64 JIT.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coverfire.com/archives/2010/03/29/linux-x86_64-and-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

