Wednesday, June 24th, 2009

iPhone 3GS runs faster than claims, if you go by SunSpider

Category: Mobile, Performance

>Rana Sobhany of Medialets has posted on Sun Spider benchmarks of the iPhone 3GS as well as other devices which shows off the performance angle of 3GS:

The WebKit Open Source Project provides a JavaScript test Suite dubbed SunSpider. According to the description on the SunSpider home page, “this benchmark tests the core JavaScript language only, not the DOM or other browser APIs. It is designed to compare different versions of the same browser, and different browsers to each other.” We at Medialets have found it to be one of the best attempts to measure real world JavaScript performance in a balanced and statistically sound way.

Medialets ran the SunSpider test suite in the following environments:

  1. Safari 4.0.1 on a 2.0 GHz Intel Core 2 Duo White MacBook.
  2. The MacBook results were used as a baseline for relative comparisons.
  3. Mobile Safari on the iPhone 3G with iPhone OS v2.2.1
  4. Mobile Safari on the iPhone 3G with iPhone OS v3.0
  5. Mobile Safari on the iPhone 3GS with iPhone OS v3.0
  6. The “Browser” app on the T-Mobile G1 with Android OS v1.5 (Cupcake)
  7. The “Web” app on the Palm Pre with Web OS v1.0.2

Each device was fully restored and rebooted immediately before running the test suite. Every attempt was made to assure that no atypical background tasks were executing while the tests were running. The SunSpider tests automatically run five times sequentially and the mean average from all five tests are reported. Network speed and latency have no effect on the results of the test.

We all know to beware of benchmarks, but it does show off how powerful these devices are getting!

Related Content:

Posted by Dion Almaer at 3:03 pm
7 Comments

++++-
4.1 rating from 35 votes

7 Comments »

Comments feed TrackBack URI

I’m eager to try DOM manipulation. That’s what seemed slow to me on iPhone OS 2.2.1. And it’s why the css animations and transitions have been so important.

Comment by Nosredna — June 24, 2009

The performance of the Palm Pre is a bit disappointing, as is has the same processor as the iPhone 3GS and shouldn’t be so much slower. All webOS apps are based on javascript, so a fast js implementation is crucial for the palm pre.

I wish someone could run all the common js/html tests on these devices.

Comment by AndiSkater — June 25, 2009

I’d be interested in G2 numbers (I have mine since 2 months … US market is so slow ;)

Comment by digitarald — June 25, 2009

@digitarald: SunSpider is a publicly available test. Do it yourself.

Comment by paziek — June 25, 2009

@AndiSkater > Well, it’s not just about hardware. The new iPhone 3GS also benefits from the latest optimization that were achieve in the WebKit engine.
As the Pre is also based on the WebKit engine, an update of it’s OS could probably ends up with the same speed than the 3GS.

Comment by gizmogwai — June 25, 2009

@gizmogwa
I have found out that the webkit used in webos uses the V8 JS engine instead of the SquirrelFish Extreme/Nitro engine. Probably the pre performs much better in the V8 benchmark (or realworld js).

Comment by AndiSkater — June 25, 2009

>>All webOS apps are based on javascript, so a fast js implementation is crucial for the palm pre.

That’s true that you want a fast JS, but my bottleneck on Mobile Safari games has been touching the DOM. JS goes along at a great clip then–boom–I touch the DOM and everything stops. That’s my experience anyway.

Comment by Nosredna — June 25, 2009

Leave a comment

You must be logged in to post a comment.