Result table (SunSpider 0.9.1, all devices running iOS 5)
| Test | iPhone 4S | iPhone 4 | iPhone 3GS |
| Total | 2270ms | 3483ms | 4903ms |
| 3D | 281ms | 486ms | 672ms |
| Access | 279ms | 410ms | 614ms |
| Bitops | 177ms | 200ms | 270ms |
| Controlflow | 20ms | 26ms | 34ms |
| Crypto | 164ms | 211ms | 315ms |
| Date | 332ms | 528ms | 770ms |
| Math | 219ms | 433ms | 553ms |
| Regexp | 88ms | 117ms | 151ms |
| String | 711ms | 1072ms | 1525ms |
Raw results
Bonus: FishIETank (10 fish) (Canvas test)
| Test | iPhone 4S | iPhone 4 | iPhone 3GS |
| Total | 50fps | 35fps | 25fps |
One thing to note here: the 3GS has a bit of an advantage because of a non-retina screen. However, it’s still outperformed easily by the iPhone 4 and 4S.
Related
JavaScript SunSpider benchmark: iOS 4.3 vs iOS 4.0
BlackBerry Torch SunSpider results (JavaScript benchmark)
iPhone 4 SunSpider test results (22% faster than iPhone 3GS)
JavaScript SunSpider test: iOS 3.1.3 versus iOS 4 GM
JavaScript SunSpider: HTC Evo versus HTC Incredible versus Nexus One
[...] all! In fact, it’s pretty much the same result one could get running the same benchmark on an iPhone 4 running iOS 5 which is great, considering Apple has done an excellent job with their Nitro javascript engine. [...]
[...] که در واقع حاکی از روان بودن کامل بود: طبق گفته بلاگ David Calhoun، نتايج iOS 5 بر روی سر آيفون بدين شرح است: iPhone 4S – 50fpsiPhone 4 – [...]