Google's latest version of Chrome has claimed the lead in my JavaScript speed tests, but Apple's new Safari 4 beta is the first browser to challenge it on Google's own performance benchmark.
JavaScript is a programming language that powers not just innumerable ordinary Web sites, but also many Web-based applications such as Google Docs. With the computing industry's major push to cloud computing, Web application performance is increasingly important, and there's a race on to see who's got the best JavaScript engine. JavaScript engines even have become a named feature, with Chrome's V8, Firefox's TraceMonkey, Opera's Futhark and upcoming Carakan, and now the Safari's newly branded Nitro, which is Apple's version of WebKit's Squirrelfish.
On the SunSpider test, the new Safari 4 beta scored third place.
(Credit: Stephen Shankland/CNET News)With Safari 3, I admired Apple's chutzpah for bringing its browser to Windows. With the new Safari 4 beta, I'm actually starting to admire the browser, too.
A big user interface overhaul makes Safari look polished rather than clunky on Windows, builds in better search abilities, and makes good use of the fact that people often visit the same sites over and over.
However, the lack of something like the extensions architecture that Firefox pioneered still means Safari 4 (download for Windows and Mac OS X) is better only than Safari 3, not the competition.
... Read more
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 on the SunSpider JavaScript benchmark.
(Credit: WebKit)- prev
- 1
- next





