We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
80,259 News Articles

Firefox 9 battles Chrome with JavaScript performance boost

Fights back against Chrome's growing popularity

The latest version of Mozilla's Firefox has returned to the theme of improved performance, boosting JavaScript speed by a claimed 30 percent plus on websites making extensive use of it.

It's barely six weeks since the world was handed Firefox 8 on the company's rapid-release schedule, but version 9, which has just reached beta prior to release next week, continues the browser's evolution with a number of mostly hidden improvements.

The main enhancement this time is the addition of Type Inference technology to Firefox's SpiderMonkey Javascript engine, basically a way of automatically optimising code fed to the JIT compiler.

JavaScript-heavy sites should see a significant benefit, although we found after benchmarking with sunspider that it barely reached a 10 percent improvement over version 8; the most expensive but spectacular way to improve computationally-intensive activities such as JavaScript on a PC is still to buy a more powerful CPU.

Most of the other improvements are marginal except for Apple users who get better support for themes and two-fingered swipe navigation for OS X Lion.

On the JavaScript theme, developers now have the ability to query the Do Not Track status, plus improved support for HTML5, CSS and MathML.

Version 9 arrives at a time of considerable challenge for a browser once rated the techie's clear favourite. Only last week, StatCounter declared that Google's Chrome had become the number two browser behind IE, a position that has long been Firefox's.

A Google-sponsored survey by Accuvant also recently handed the browser security crown to Chrome thanks in part to its 'hardened' JavaScript JIT compiler.

Chrome's pre-eminence is probably inevitable given Google's determination to promote it to the large number of users of its Gmail service for one. Interestingly, Google is also a heavy user of JavaScript on its websites.

IDG UK Sites

LG G4 Note UK release date and specification rumours: Samsung Galaxy Note 5 killer could be the LG 3......

IDG UK Sites

In defence of BlackBerrys

IDG UK Sites

Why we should reserve judgement on Apple ditching Helvetica in OS X/iOS for the Apple Watch's San...

IDG UK Sites

Retina 3.3GHz iMac 27in preview: Apple cuts £400 off Retina iMac with new model