Sunday, April 3, 2011

The Browser Smack-down: Chrome vs. IE vs. Firefox


There's no doubt the latest crop of stable browsers from Google, Microsoft, and Mozilla are the best the companies have ever produced. But how do they perform when tested under identical conditions?

CNET put the latest stable versions of Firefox, Chrome, and Internet Explorer through a gauntlet of benchmarks that considered JavaScript and HTML5 performance, as well as boot times and memory usage. (Opera and Safari were not tested because they have not been updated recently, and neither has yet implemented hardware acceleration close to the level that the other three browsers have.) Note that these charts are at best a snapshot in time, and are dependent on the hardware being used and any extensions installed. The full charts are below, followed by analysis and an explanation of our methodology.
*JSGamebench was conducted by Facebook developers. The test was included because it's a publicly available test of real-world gameplay, though we opted to use Facebook's published data for simplicity's sake. The hardware acceleration using WebGL results were not included because only Firefox 4 and Chrome 11 were included in the test group, and Chrome 11 was not tested by CNET this round because it's still in beta.
Chrome 10Internet Explorer 9Firefox 4
SunSpider 0.9.1 (ms)336.20250.60292.37
Kraken (ms)8,806.3015,606.777265.13
V8 v6 (higher is better)5,173.672,235.333540.33
JSGamebench 0.3* (higher is better)322.001,156.001,482.00
Boot time (s)26.2221.8617.80
Memory (kb)390,532205,616148,020

Though the competition is extremely close in some cases--especially JavaScript rendering--Firefox 4 is strongly favored by HTML5 processing, boot time, and memory usage. Overall, I'd judge from these results that Firefox 4 is the winner this time around.

Chrome, however, is absolutely killing it on Google's V8 benchmark. Expect the next version of Chrome to perform much better on the JSGamebench test, once hardware acceleration has been fully enabled. You currently have to toggle a few switches in about:flags to get it all. Also expect Chrome's boot time and memory performance to improve--Google has said it plans to spend more time working on Chrome's memory hogginess in the coming versions.

Given the renewed resurgence in Internet Explorer, it's also hard to imagine that the IE development team isn't already working on making the browser better.

Also of interest is that the SunSpider results are extremely close. The gulf between 250 milliseconds and 290 milliseconds is just not going to be that detectable by the average person.

How we tested
Our test machine was a Lenovo T400, with an Intel Core 2 Duo T9400 chip running at 2.53GHz, with 3GB of RAM, using Windows 7 x86. We used four publicly available tests: WebKit SunSpider 0.9.1, Mozilla Kraken 1.0, Google V8 version 6, and JSGameBench 0.3. All tests except for JSGamebench were conducted using a "cold boot" of the browser, that is, both the computer and the browser being tested were restarted before each test. Each test was performed three times, and the results you see are the averages. Browsers had all extensions and add-ons deactivated for the tests.

We opened five Web sites for all tests, in addition to any test site. These were: talkingpointsmemo.com, aol.com,youtube.com, newyorktimes.com, giantbomb.com, cnettv.cnet.com.

The boot time benchmarks were conducted by manually starting a stopwatch when clicking on the browser's taskbar icon, and then hitting stop when the last tab's resolving indicator stopped rotating. One half-second was subtracted from Internet Explorer 9's pre-averaged times to account for the extra time it took to hit the Reload previous session link, since the browser doesn't support that feature the way Firefox 4 and Chrome 10 do.

The memory test was conducted by opening the aforementioned set of tabs and looking at Google Chrome's memory manager. You can access it by typing "about:memory" into the Chrome location bar. The figure we used is the Private Memory, which only totals memory used by the browser that's not shared by other processes. It's also useful because it tallies all of Chrome's open tab memory usage into one convenient number.

3 comments:

  1. I have been using chrome for now but I have Firefox too :)

    ReplyDelete
  2. I actually have used all browsers, found Firefox to be fastest on a slow pc, and safari to be faster on a fast pc. That's comparing the two in their genre ofc

    ReplyDelete
  3. Definitely liking Chrome at the moment. I'm glad the browsers are getting better though. Much respect for Firefox

    ReplyDelete