Safari 4 rivals Google Chrome in JavaScript race

February 26, 2009, 10:12 AM —  Computerworld — 

Contrary to Apple's claims, the newest version of Safari is not the world's fastest browser, benchmark scores show. But it is dramatically faster than rivals being built by Mozilla and Microsoft.

According to JavaScript rendering tests run by Computerworld, the public beta of Safari 4 is in a virtual dead heat with the most recent edition of Google's Chrome, but is 38% faster than the newest version of Firefox, more than three times faster than the production edition of that open-source browser, and over five times faster than Microsoft's Internet Explorer 8.

Computerworld ran the SunSpider JavaScript benchmark suite in Windows XP three times for each browser, then averaged the scores.

Safari 4, which Apple released Tuesday as a public beta , scored just slightly higher than Chrome 2.0.164.0, a developer-only build of Google's browser that was issued only last week. The difference, however, was minute: Google was only about 7% faster. Although Chrome and Safari are both built around the same open-source WebKit engine, they use different JavaScript engines. The former features Google's own V8 engine, while Safari 4 relies on Apple's new Nitro.

That new engine was most in evidence when Safari 4's scores are compared to those of Safari 3.2.2, the current shipping version on Windows: The beta of Safari 4 was about 3.7 times faster.

Safari 4 also proved faster than the newest Firefox, a nightly build in the run-up to Firefox 3.1, although at just 38% faster its edge was much smaller.

It easily beat Firefox 3.0.6, Mozilla's production browser, and IE8 Release Candidate 1 (RC1), Microsoft's latest public release of its still-under-construction successor to the three-year-old IE7. According to SunSpider's tests, Safari 4 is nearly 3.5 times faster than Firefox and about 5.6 times faster than IE8.

When IE7 is brought into the picture, Safari 4 looks lightning-quick: Apple's browser is more than 76 times faster at completing the JavaScript tests than Microsoft's.

Most browser makers have been aggressively promoting improved JavaScript performance for months. Google, for example, bragged up Chrome's when it debuted the browser last September , while Mozilla has been talking up Firefox 3.1's TraceMonkey engine since August.

Microsoft, however, has disparaged the benchmark bragging as a "browser drag race" that it's not interested in joining. Instead, senior product manager James Pratt has tried to steer the conversation away from JavaScript and toward a more subjective interpretation.

"We're at the point, with what people do in the browser, that users can't really tell the difference between browsers," he has argued. "Beyond building a performance lab, which we've done, it's very difficult to tell which browser is fastest. The reality is that for most users, they'll all be comparable."

On the Mac, where Safari doesn't have to compete with Google -- Chrome has yet to be ported to Apple's operating system -- the beta of version 4 is almost twice as fast as Firefox 3.1 Beta 2 and nearly four times faster than Firefox 3.0.6, according to SunSpider tests run on a 2.4GHz "unibody" MacBook.

Computerworld

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Close

On Twitter now

safari 4

Powered by Twitter
You are logged in | Sign out
Sign in and post to Twitter

What are you thinking?

Cancel Tweet sent

On Twitter now

Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Where Google Chrome security fails: the password
I heard mention that the Chrome OS will have some sort of encryption available a la bitlocker. If it's possible to encrypt personal data using another password or key, then it may have potential for very secure data.... And Ubuntu has an 'encrypt home directory' option, perhaps google should follow suit.
- Dann

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace