JavaScript Performance
Composite Scoring
The JavaScript composite is achieved by averaging the results of the three "lower is better" tests (RIABench, Mozilla Kraken, and Google SunSpider) and the negative average of the "higher is better" Peacekeeper score to get a single "lower is better" average.
Chrome 20 is the only browser to end with a negative score, claiming the lead. Firefox 13 earns a second-place finish with just 19 points. Opera 12 is solidly in third place at just under 900. Safari 5 and IE9 are distant fourth- and fifth-place finishers.
Drill Down
The charts below contain the individual JavaScript benchmarks.
Breaking down RIABench JavaScript, Safari appears to be particularly weak in primetest and MD5 hashing. Internet Explorer also falters in MD5 hashing. It and Firefox also demonstrate dismal run-length encoding results, too. Chrome has the worst score in the random number generator test, but pretty much rules the remaining RIABench tests.
RIABench, Kraken, and Peacekeeper favor Chrome, Firefox, and Opera, while SunSpider replaces Opera with IE9. Chrome 20 tops all four JavaScript benchmarks. Meanwhile, its WebKit relative Apple Safari scores universally poorly.