Be Inquisitive ! Be Curious !! Explore !!! Enjoy !!!!

Browser Wars: Chrome vs. IE9 vs. Firefox

| Saturday, July 30

Browser Wars
Web browsers are converging. Since the arrival of Google Chrome nearly three years ago, all browsers have come under its influence, and they've all moved in the same three-pronged directions—speedier page loading, cleaner user interfaces, and greater support for new Web standards. All of the major browsers—ChromeFirefoxInternet ExplorerSafari, and Opera—have made significant strides in each of these three dimensions. The first two qualities are pretty much universally desirable, but the "standards" support piece, while also desirable, gets sticky: Each browser seems to support a different subset of the many features that fall under the label HTML5. All you have to do is check out each browser's HTML5 demo site. Apple's HTML5 demos, for example, flat out won't function unless you're browsing with Safari. So much for "standards."
The Speed of the Web
Along with new standard support, all browsers have posted massive improvements in page-rendering and script execution speed. You just have to look at the often-cited SunSpider JavaScript benchmarks to see this. Even Chrome, which I already described as "lightning fast" in December of 2008, has sped up on the test from a time of 881ms to 267ms in version 12 on my 2.6GHz dual-core laptop—that's less than a third of the time! The rest of the browsers have followed suit, clustering around the same level of performance. Mozilla and Google have built their own Javascript speed tests, Kraken and V8, respectively. When these first came out, the maker's own browsers widely outpaced competitors, but results on these tests are also evening out.
BrowserGoogle V8 (v.6) Score
(higher is better)
Google Chrome 128205
Firefox 53459
Opera 11.503454
Safari 5.12567
Internet Explorer 92360
BrowserMozilla Kraken 1.1 Score in ms
(lower is better)
Google Chrome 124841
Firefox 55707
Opera 11.5012353
Internet Explorer 915050
Safari 517603
BrowserSunSpider 0.9.1 Score in ms
(lower is better)
Internet Explorer 9245
Google Chrome 12267
Firefox 5282
Opera 11.50279
Safari 5.1303
The next frontier in browser performance is about graphics hardware acceleration. In this area, Internet Explorer and Firefox are ahead of Google Chrome, Opera, and Safari. Microsoft was the first browser maker to make an issue of hardware acceleration in the buildup to its releasing IE9. The company's site for its browser, called IETestdrive.com, sports a slew of demonstrations that show off hardware acceleration, which you can try running in any browser. On these, you can clearly see IE and Firefox's lead in hardware acceleration.
On the FishIE demo, which uses Canvas and Javascript to display swimming tropical fish, Chrome delivered 40 frames per second with 20 fish and 5 FPS with 500 fish. Since both Firefox 4 and IE9 use hardware acceleration for more than just future 3D content, they score the maximum 60 FPS with 20 fish, but IE still beats Firefox with 500 fish. Chrome was, however, better than Opera, which only mustered 20FPS and 3FPS.
BrowserFishIE with 20 fish (FPS - higher is better)500 Fish
Internet Explorer 96039
Firefox 46035
Google Chrome 12404
Opera 11.50203
Safari 5203
Another IE9 demo, Psychedelic Browsing, spins a color wheel and plays spacy sounds, reporting RPM as a result. Surprisingly, Firefox beats Microsoft at its own game here by a tad, though it doesn't play the required sound. Chrome, however, plays the test's required sound, but fares far worse in the revolutions per minute result:
BrowserPsychedelic Browsing
RPM (higher is better)
Firefox 41885 (no sound)
Internet Explorer 91799 (correct sound)
Google Chrome 12131 (correct sound)
Opera 1182 (no sound)
Safari 583 (no sound)
One final test of hardware acceleration comes from Mozilla, its Hardware Acceleration Stress test, which spins a spiral of photos in the browser window and reports a score in frames per second (which tops out at the LCD's maximum of 60FPS):
BrowserMozilla Hardware Acceleration Stress Test
FPS (higher is better)
Firefox 460
Internet Explorer 960
Google Chrome 1217
Opera 1117
Safari 53
On this test, again, the browsers with graphics hardware acceleration trounced those without. IE8 can't run the test since it lacks the requisite HTML5 support.

0 comments:

Post a Comment