Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Webmaster > Internet Life

April 8th, 2010, 09:56 GMT · By

SunSpider 0.9.1 Is Optimized for the Fastest JavaScript Engines

SHARE:

Adjust text size:


SunSpider 0.9.1 in Chromium
Enlarge picture
With all modern web browsers battling over JavaScript performance, there is a need for ways to reliably measure it. One benchmark that has proven very popular is SunSpider, created by the Webkit team. The benchmark is regularly used to compare various JavaScript engines, but, with things moving so fast in this area, it started being less reliable on fast machines. The team has implemented several changes to address these issues and has integrated them in the newly released SunSpider 0.9.1.

The first SunSpider benchmark was released just two years ago. It may not seem like a long time, but plenty have changed since then and JavaScript engines are several times faster. The arm race began when Google launched Chrome and, since then, all the major players, Firefox, Safari, Opera, have revamped their JavaScript engines. A great example consists of the actual SunSpider results. When it first launched, most browsers and machines completed it in about 10,000 ms, but today's browsers can do it in 300 ms.

This led to an unforeseen issue that affected most modern PCs. "By design, the SunSpider harness has significant pauses between each test, to give browsers a chance to settle down after the load. But with fast browsers on modern hardware, this gives enough time for power management to kick in and ratchet down the CPU clock rate. As a result, most of the benchmark does not run at full speed," Maciej Stachowiak from the Webkit team explained. The faster the JavaScript engine, the more it is likely to be affected by this issue.

With SunSpider 0.9.1, the problem is gone. The time between the tests has been greatly reduced and the benchmark content is now loaded ahead of the tests rather than between them. This should make the benchmark more accurate, as it eliminates problems like the Internet connection speed, which may have affected the results. And the best part is that the benchmark is completed a lot faster since the half-a-second delay has been eliminated. A couple of bugs affecting specific platforms have also been fixed and the test content has been slightly changed. You can check out the brand-new SunSpider 0.9.1 benchmark for yourself here.
FILED UNDER:

TAGS:

Webkit | SunSpider | JavaScript | benchmark

TELL US WHAT YOU THINK:

1,841 hits · 1 comment · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Template Monster Debuts jQuery Templates

Quake 2 Running in a Browser Courtesy of HT...

Jolicloud Switches to Chromium for Web Apps

Run Google Chrome Extensions in Firefox

Google's Native Client Now Supports x8...

READER COMMENTS:


Comment #1 by: Andrew on 27 Aug 2010, 00:18 GMT reply to this comment

You are actually linking to SunSpider 0.9 in the link at the end (as you can see from the URL), the correct link for SunSpider 0.9.1 is:

http://www2.webkit.org/perf/sunspider-0.9.1/sunspider.html

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM