<!-- 
.. title: Back among the living
.. slug: back-among-the-living
.. date: 2009-12-22 18:37:25 UTC+01:00 
.. tags: web, 
.. link: 
.. description: 
.. type: text 
--> 

Recently, I've [bitterly complained](this-is-the-end-of-opera.html) about the mediocre performance of Opera on sites making heavy use of Javascript.

As if they'd heard my complaints, [Opera labs](http://labs.opera.com/news/2009/12/22/) today released a pre-alpha of the forthcoming Opera 10.50, including the new Javascript engine Carakan which is finally using [JIT](http://en.wikipedia.org/wiki/Just-in-time_compilation).

Since the Unix version hasn't been released yet, I did all tests under Windows 7 in Virtualbox:

<table style="text-align: left; width: 100%;" border="1"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Safari 4.0.4 531.21.10<br /></td>
<td style="vertical-align: top;">Windows 7 64 bit, VirtualBox
3.0.12<br /></td>
<td style="vertical-align: top;">578.8 ms +/- 13.7%<br /></td>
</tr>
<tr>
<td style="vertical-align: top;">Opera 10.50 3172<br /></td>
<td style="vertical-align: top;">Windows 7 64 bit, VirtualBox
3.0.12<br /></td>
<td style="vertical-align: top;">688.8 ms +/- 6.2%<br /></td>
</tr>
<tr>
<td style="vertical-align: top;">Opera 10.10 1893<br /></td>
<td style="vertical-align: top;">Windows 7 64 bit, VirtualBox
3.0.12<br /></td>
<td style="vertical-align: top;">3975.4 ms +/- 2.0%<br /></td>
</tr>
</tbody>
</table>

Not too shabby, I'd say. 😄

All of the above, as usual, on a Core 2 Duo E6600 running Mandriva 2010 x86\_64 as the host system.

In this context, I thought it would be interesting to compare these values to those obtained with much faster hardware (namely, a Core i750) running Windows 7 natively.

<table style="text-align: left; width: 100%;" border="1"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Safari 4.0.4 531.21.10<br /></td>
<td style="vertical-align: top;">Windows 7 64 bit,
native<br /></td>
<td style="vertical-align: top;">676.0 ms +/- 6.7%<br /></td>
</tr>
<tr>
<td style="vertical-align: top;">Firefox 3.5.5<br /></td>
<td style="vertical-align: top;">Windows 7 64 bit,
native<br /></td>
<td style="vertical-align: top;">1007.8 ms +/- 5.7%<br /></td>
</tr>
<tr>
<td style="vertical-align: top;">Opera 10.10 1893<br /></td>
<td style="vertical-align: top;">Windows 7 64 bit,
native<br /></td>
<td style="vertical-align: top;">2957.0 ms +/- 0.4%<br /></td>
</tr>
<tr>
<td style="vertical-align: top;">IE 8 7100<br /></td>
<td style="vertical-align: top;">Windows 7 64 bit,
native<br /></td>
<td style="vertical-align: top;">4285.4 ms +/- 1.1%<br /></td>
</tr>
</tbody>
</table>

Surprise, surprise. The only browser which scales almost exactly with the more than twofold performance increase per core is Firefox (which took [2274\.8 ms](this-is-the-end-of-opera.html) to complete the test on the E6600). Safari, in contrast, does not scale at all. Quite sobering, isn't it? It will be interesting how future versions of Firefox and Opera will behave in this respect. 😉
