Browser Warz-Part 2: Safari wins

The test:

To pass test 2, the browser has to:

  1. Correctly render the page from last time, except not gzipped.
  2. Read base64 encoded data and parse it as JavaScript.
  3. Do 10 million empty loops, 5 million Math.random() calls, and 500 thousand empty eval() calls as soon as the page loads.
  4. Respond to a double click event.
  5. Ask for permission to do memory-intensive scripts.
  6. Do 250 million empty loops, 125 million Math.random() calls, and 12.5 million empty eval() calls in under 10 minutes.
  7. Not crash during the time that it does step 3, although not responding for up to 5 minutes at a time is ok.

The results:

Safari went the fastest:  256.564 seconds (4.276 minutes)
Safari-Browser Warz test 2

Next in speed was Opera, with a time of 275.92 seconds (4.599 minutes)
Opera-Browser Warz test 2

And then comes Firefox, with a time of 371.446 seconds (6.191 minutes)
Firefox-Browser Warz test 2

Internet Explorer was disqualified because it did not render the page, nor did it respond to the double click event when I gave it a .html copy of the test.  I was curious, however, so I used the javascript: protocol and tested it.  It came in faster than opera!
IE-Browser Warz test 2

As always, you can download the test.  Here it is: Browser Warz test 2

2 thoughts on “Browser Warz-Part 2: Safari wins

Comments are closed.