Oh no, you're thinking, yet another cookie pop-up. Well, sorry, it's the law. We measure how many people read us, and ensure you see relevant ads, by storing cookies on your device. If you're cool with that, hit “Accept all Cookies”. For more info and to customize your settings, hit “Customize Settings”.

Review and manage your consent

Here's an overview of our use of cookies, similar technologies and how to manage them. You can also change your choices at any time, by hitting the “Your Consent Options” link on the site's footer.

Manage Cookie Preferences
  • These cookies are strictly necessary so that you can navigate the site as normal and use all features. Without these cookies we cannot provide you with the service that you expect.

  • These cookies are used to make advertising messages more relevant to you. They perform functions like preventing the same ad from continuously reappearing, ensuring that ads are properly displayed for advertisers, and in some cases selecting advertisements that are based on your interests.

  • These cookies collect information in aggregate form to help us understand how our websites are being used. They allow us to count visits and traffic sources so that we can measure and improve the performance of our sites. If people say no to these cookies, we do not know how many people have visited and we cannot monitor performance.

See also our Cookie policy and Privacy policy.

This article is more than 1 year old

Mozilla: Spidermonkey ATE Apple's JavaScriptCore, THRASHED Google V8

Moz man claims the win on rivals' own benchmarks

Mozilla Distinguished Engineer Robert O’Callahan reports that the Spidermonkey JavaScript engine, used by the Firefox web browser, has surpassed the performance of Google’s V8 engine (used by Chrome) and Apple’s JavaScript Core (used by Safari) on three popular benchmarks: Mozilla’s own Kraken, Webkit’s SunSpider and Google’s Octane.

“Beating your competitors on their own benchmarks is much more impressive than beating your competitors on benchmarks which you co-designed along with your engine,” writes O’Callahan. “We can say ‘these benchmarks are not very interesting; let's talk about other benchmarks (e.g. asm.js-related) and language features’ without being accused of being sore losers.”

The asm.js JavaScript subset, to which O’Callahan refers, is used as an intermediate language and is designed to be amenable to optimisation by just-in-time compilers.

Both Mozilla and Google have an interest in making browser-hosted applications deliver performance sufficiently good that it reduces users' need for native applications and can do more of their work (or play) on the web. However, Google also has a project called Native Client (NaCl), which runs portable native code in the browser, avoiding the JavaScript engine. Google has emulated the Android runtime in NaCl, for example, enabling Android apps to run.

Performance tests show Firefox JavaScript engine is fastest

Mozilla’s performance claims are based on a project called AreWeFastYet, which automatically compiles each JavaScript engine and runs benchmark suites. It does not run the tests in a browser, but runs the tests as standalone JavaScript. The test does not cover Opera or Internet Explorer (IE).

“Opera doesn't provide a standalone shell, and IE doesn't work on Mac or Linux (which is where we benchmark right now),” says O’Callahan. ®

 

Similar topics

Similar topics

Similar topics

TIP US OFF

Send us news


Other stories you might like