• On GameFAQs: Is it OK to lay my Wii down on its side?
September 19, 2008 12:53 PM PDT

Step aside, Chrome, for Squirrelfish Extreme

by Stephen Shankland

Just about every browser out there now is trying to grab the crown for fastest performance for running JavaScript, the programming language that powers many increasingly sophisticated Web-based applications. The latest development is from the programmers behind Apple's Safari.

Mozilla bragged earlier this month about TraceMonkey, a new JavaScript engine due to ship in Firefox 3.1 near the end of 2008. Next came Google's Chrome, a leading feature of which is the performance of its V8 JavaScript engine. Now the WebKit programmers, whose open-source code is used in Apple's Safari browser and the Konqueror browser of the KDE interface software sometimes used on Linux systems, have a new version of their JavaScript technology.

It's called Squirrelfish Extreme, and the WebKit programmers said Thursday in a blog posting that it's more than twice as fast as the first-generation Squirrelfish announced in June and more than three times faster than the current WebKit 3.1 version. They based their conclusions on one benchmark, SunSpider.

"SquirrelFish Extreme uses more advanced techniques, including fast native code generation, to deliver even more JavaScript performance," the programmers said.

For details of Squirrelfish's techniques--bytecode optimization, a polymorphic inline cache, a context-threaded just-in-time compiler, and a regular expression just-in-time compiler--check the WebKit blog.

Charles Ying also performed SunSpider tests that showed Squirrelfish beating Google's V8 and Mozilla's Tracemonkey on a 2.4GHz iMac.

WebKit's SquirrelFish Extreme is faster than its three-month-old predecessor.

WebKit's SquirrelFish Extreme is faster than its three-month-old predecessor on the SunSpider JavaScript benchmark.

(Credit: WebKit)

Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank.
Recent posts from Apple
Apple said to be working on 'world-mode' iPhone
Smartphone market unfazed by recession
Steve Jobs, Fortune's CEO of the decade
Apple, RIM grab market share from Nokia
Parallels 5 boasts huge speed improvement
Apple reaches 100,000 apps, 2 billion downloads
Hacker breaks into jailbroken iPhones, asks for $7
China Unicom: 5,000 iPhones sold in first weekend
Add a Comment (Log in or register) (9 Comments)
  • prev
  • 1
  • next
by Lerianis September 19, 2008 2:13 PM PDT
Hey, coding is ALWAYS getting better, and I'm not surprised to see Google Chrome being 'one-upped'.... though I am surprised that it came so darn fast!
Reply to this comment
by MadLyb September 19, 2008 2:13 PM PDT
We need to see metrics beyond one tool.

As we have found in the hardware space, it is easy to make a product perform well under one testing system.
Reply to this comment
by trevorbsmith September 19, 2008 4:04 PM PDT
Your comment "Now the WebKit programmers, whose open-source code is used in Apple's Safari browser and the Konqueror browser" is potentially confusing. WebKit is ALSO the rendering engine used by Google Chrome, not just Safari and Konqueror.
Reply to this comment
by Shankland October 15, 2008 9:53 PM PDT
True, but WebKit's JavaScript engine is not used in Chrome. Chrome's JavaScript engine is called V8 and was written from scratch.
by blues_coup September 19, 2008 4:34 PM PDT
Indeed. Chrome uses all Webkit code, including the inspector, to render webpages. As far as I know the only difference is the bindings for V8. Also, SquirrelFish Extreme has been available in the webkit nightly builds for almost 2 weeks.
Reply to this comment
by victor_sf September 20, 2008 1:20 AM PDT
Aach, good old Konqueror - I liked it so much in the olden days.
Reply to this comment
by krosavcheg September 20, 2008 6:11 AM PDT
Hey Morons:

This chart is meaningless without telling us what the chart is measuring. Do the bars and their associated totals mean milliseconds to complete a test? Without an explanation, one would assume an article about speed is about time to complete -- in which case longer bars are worse. not better.

A quick follow to the WebKit blog explains that the chart represents runs per minute, but CNET writers and editors are too lazy to even cut and paste accurately.
Reply to this comment
by monkeyfun14 September 20, 2008 8:55 AM PDT
Well they said its faster so one could assume that longer bars are better?

I don't see why people need to be spoon fed all the time honestly.
by geshirk September 20, 2008 11:58 AM PDT
The annotation below the graph, "WebKit's SquirrelFish Extreme is faster than its three-month-old predecessor on the SunSpider JavaScript benchmark", is pretty clear to me: the longer the bar the faster the performance

Maybe the annotation was added after krosavcheg's rude post
Reply to this comment
(9 Comments)
  • prev
  • 1
  • next
advertisement

FAQ: Buying the right Windows 7 upgrade

Readers still have lots of questions on just which version of the software they need to buy in order to upgrade their PC. CNET News tries to offer some answers.

N.Y. lawsuit details Intel's 'largesse' toward Dell

Attorney General Andrew Cuomo's federal antitrust case filed Wednesday alleges a longstanding symbiotic relationship between Intel and Dell.

About Apple

At the start of the 21st century, there's no tech outfit more influential than Apple. CNET News' Erica Ogg and other reporters will attempt to make sense of the rumors, hype, products, and people that will shape the future of the company. But Apple's not the only game in town, as the established cell phone companies and others strike back against the iPhone. E-mail Erica at erica.ogg@cnet.com.

Add this feed to your online news reader

Apple topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right