Apple

Read all 'JavaScript' posts in Apple
February 24, 2009 1:26 PM PST

Safari challenges Chrome on Web app speed

by Stephen Shankland
  • 36 comments

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.

On the SunSpider test, the new Safari 4 beta scored third place.

(Credit: Stephen Shankland/CNET News)
... Read more
Originally posted at Webware
February 24, 2009 11:30 AM PST

Safari 4 a big step up, but not as far as rivals

by Stephen Shankland
  • 126 comments

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
September 19, 2008 12:53 PM PDT

Step aside, Chrome, for Squirrelfish Extreme

by Stephen Shankland
  • 1 comment

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)

  • prev
  • 1
  • next
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

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

Most Discussed



advertisement

Inside CNET News

Scroll Left Scroll Right