Performance

When the 4 was announced, my curiosity (and perhaps yours as well?) was about the flavor of Apple’s A4 SoC inside the phone. The rumor was that the A4 in the iPhone 4 had a full 512MB of memory, compared to 256MB in the iPad’s A4. iFixit took an iPhone 4 apart (with relative ease I might add) and confirmed the presence of 512MB. Look at the A4 in this picture, the Samsung part number on the right edge of the chip starts out K4X4G. The K4X denotes a Samsung mobile DRAM and the 4G refers to its density: 4Gbit or 512MB.

More memory should mean a smoother multitasking experience on the iPhone 4. Remember that iOS 4 keeps all fast task switching enabled apps resident in memory even after you’ve switched away from them. They are only kicked out of memory if you run low or if you force quit them. With more memory you should be able to keep more apps in memory without unwillingly forcing them out. The 512MB of RAM should also give the OS more breathing room in lighter multitasking scenarios, a problem many are already seeing on the iPhone 3GS running iOS 4. In practice the 4 is smoother when running iOS 4. There are still some hiccups but not as bad as on the 3GS, and definitely not as bad as on the 3G. The OS was clearly designed with the iPhone 4 as the performance target.

The big question that remains is what clock speed the iPhone 4’s A4 is running at. The assumption was 1GHz however Apple was very careful not to mention clock speed, unlike at the iPad launch. Saying nothing usually means there’s nothing good to say.

I ran a whole bunch of benchmarks on the iPhone 4 and the iPhone 3GS running iOS 4 to try and figure out what CPU speed we might be dealing with. The early reviews imply that the A4 in the iPhone 4 is running at a speed greater than the 3GS’s 600MHz, but slower than the iPad’s 1GHz. Let’s try and find out what it’s really running at.

We’ll start with the real world tests, first SunSpider. A javascript performance test this benchmark is completely network independent but it measures the performance of the browser as well as the underlying hardware. It is small enough to make memory size differences negligible so between the two iPhones we should be seeing a pure CPU comparison:

The iPhone 4 manages a time that’s 25% faster. Note that this test is just as much about the software stack as it is about CPU/platform performance. The Froyo update makes the Nexus One ridiculously fast in this benchmark. It just shows you how much room there is to improve performance on these Android handsets. The next leapfrog is going to be once the entire Android world moves to 2.2.

Next up is the Rightware BrowserMark. This test combines JavaScript and HTML rendering performance:

BrowserMark spits out an overall score but with no indication of what the score actually means. In this case we’re looking at 18.4% better performance than the iPhone 3GS. The iPad is 34% faster than the 4, which supports the theory of the A4 running at ~750MHz in the new iPhone.

There's also the possibility that the A4 CPU clock varies depending on load and other factors but the run to run consistency in all of our tests seems to indicate otherwise. We also can't ignore the fact that the iPad and iPhone now run vastly different OS revisions. In some cases iOS 4 actually takes a step back in performance compared to iOS 3.2. That undoubtedly makes the iPad vs. iPhone 4 comparison about much more than CPU performance.

Froyo's improved Javascript performance sends the Nexus One nearly to the top of the list here, only bested by the iPad. While Apple has definitely improved performance with the iPhone 4, it seems that it will only take a software update for Android phones to surpass it.

To measure web browsing performance I downloaded a bunch of different web pages and saved as much of them as possible locally on a server. I used WiFi on all of the devices to connect to my local server and timed average load time. I repeated the test at least 3 times and threw out any unusually high or low numbers. Performance was from a clean restart with no additional programs running in memory.

Note that these numbers aren't comparable to other reviews as we've updated software versions on two of the phones. The iPhone 3GS is now running iOS 4 which resulted in some numbers going up while others went down. And the Google Nexus One is running the officially released build of Android 2.2, codenamed Froyo.

What these tests should show is the overall performance of the platform when all network bottlenecks are removed. Obviously hiding in a tunnel under a lead umbrella will make any phone slow, but we’re looking at peak performance here.

The first test is the new AnandTech front page. Here we’ve got tons of images and HTML, meaning we’re stressing both bandwidth and code parsing speed.

The iPhone 4 is no faster than the 3GS (actually slightly slower, but we'll chalk that up to timing variance) here. The Froyo update to the Nexus One makes it lightning quick, almost as fast as the iPad in our first test.

Next up we have the first page of our recent Zotac XBOX HD-ID11 review. The balance shifts from tons of images to more HTML processing:

Here we see more of what I expected: the iPhone 4 is around 25% faster than the 3GS running iOS 4. Android 2.2 running on the Nexus One is basically as fast as the 4.

Using our Print this Review function, this next test loads our entire 2010 15-inch Macbook Pro review. While the other two tests had some flash ad content, this one is completely devoid of it so the HTC phones shouldn’t be penalized:

Here the iPhone 4 is 11% faster than the 3GS and about the speed of the iPad. There are other bottlenecks at play here so we don't get further performance scaling. The Froyo update helps the Nexus One a bit but the iOS devices are still quicker.

Our most intensive test is up next with a load of the Engadget front page:

The Nexus One is ahead of the 4 once more with its Froyo update. And the iPhone 4 is 34% faster than the 3GS.

Our most CPU bound test is up next. I put together a custom page with a ton of tabular content and a single page copy of our 15-inch MBP review to make the load take some time at least.

Surprisingly enough there's no difference between the 3GS and the 4 here, perhaps my test is less CPU bound than I thought. Froyo improves the Nexus One's performance a little bit.

Low Level Synthetic Tests

If we assume that we’re mostly CPU bound in all of these cases (a fair assumption given how fast Atom can run through all of these tests), then we’d be looking at a ~750MHz clock speed for the iPhone 4’s A4 assuming no other architectural changes. That’s actually a pretty big assumption. The A4 is widely believed to be a 45nm SoC using an ARM Cortex A8. At 45nm there should be room for a larger L2 cache than what was used in the iPhone 3GS’s SoC.

Perhaps some more synthetic tests will help us figure out what’s going on. I turned to Geekbench, now available in an iOS version.

Geekbench spit out a number of overall results that gave me a good enough summary of what’s going on to make an educated guess:

The CPU specific tests all indicate the iPhone 4 is around 25% faster than the iPhone 3GS. That would imply at least a 750MHz clock speed if all else is the same. Assuming we don’t get perfect CPU scaling with all of these tests, I’d venture a guess that 800MHz is more accurate. If the A4 does indeed have larger caches however, Apple could get away with a lower clock speed.

The memory results are particularly telling as they all scale very well going to the iPhone 4, better than the CPU results in fact. This could lend credibility to the theory of larger internal caches or perhaps to an improved (faster) memory subsystem.

Unfortunately until we get the iPad on iOS 4 we can't get a better idea of CPU scaling. I'm not even sure how reliable that will be at this point. If Apple was willing to change the amount of memory the A4 package housed between the iPad and iPhone 4, who is to say that it wouldn't have a slightly different design for the iPhone 4 (e.g. larger caches). The designs may not be physically different but we may instead be looking at binning. Given Apple's unwillingness to talk about the architecture here I think the safest bet is that we're looking at an 800MHz ARM Cortex A8 core in the iPhone 4 and a 1GHz core in the iPad.

Why the lower clock? It's all about battery life.

Speakerphone Volume Incredible Battery Life
Comments Locked

270 Comments

View All Comments

  • philosofa - Wednesday, June 30, 2010 - link

    This kind of in-depth and insightful review is exactly why I read pretty much every Anandtech article (that and a liberal workplace when it comes to browsing lol). Cheers very much Brian & Anand. Don't feel a huge urge to upgrade from my 3GS, but it does look like a pretty damn fine smartphone!
  • quiksilvr - Wednesday, June 30, 2010 - link

    Yeah, but he's holding it wrong :(
  • medi01 - Wednesday, June 30, 2010 - link

    But guys, who do you pay a fortune for these phones? If you'd buy iphone or whatever phone with 2 year contract in most of Europe you'd pay just the price of the phone over 2 years (a bit more, in case of iphones it's about 700 Euro)

    I mean, aren't there cheaper contracts? I could imagine, that you can't buy some models other than from mobile providers, but hey, there are other countries with online shops.
  • Snotling - Thursday, July 1, 2010 - link

    In north America and even more in Canada, there is a lot of territory to cover and lower population density. Cellular networks need to plant antennas where there is theoretically too few users to pay for it.
  • JimmiG - Thursday, July 1, 2010 - link

    Sweden is kind of like a smaller version of Canada. Apart from the three major metro regions (Stockholm, Malmo and Gothenburg), the country is very sparsely populated. An average city is maybe 50,000 people. Yet we have extremely affordable plans by comparison.. I mean like less than $10 for a perfectly usable plan (1GB of data or so) and no more than $20 for 5GB or even Unlimited. Paying $100 a moth..geez. I barely pay that in a year.
  • Ratinator - Friday, July 2, 2010 - link

    Sorry, I think that is a bad comparison.

    Sweden is 2/3rd the size of the province of Saskatchewan and 9 times the population of Saskatchewan as well. You can't even compare Sweden to the province of Saskatchewan let alone Canada. You have roughly 13.5 times the population density of that province. Mind you this is probably least densely populated of the provinces (not territories) Maybe not the best example, but lets look at a better one.

    You could maybe compare to Ontario (our most populated province) however, you are less than half their size with 80% of their population. When calculated out you still have almost twice the population density of our most populated province.
  • ABR - Monday, July 5, 2010 - link

    It's pretty hard to find countries with similar population density to Canada, ranked 228 out of 239 in the world according to wikipedia. On the other hand, most of the country is inaccessible by road and I seriously doubt you are putting up cell towers in Nunavut. On the other hand Finland has half the population density of the United States and yet has similar cellular and broadband rates to Sweden. We don't know what it is with North America, whether a lack of competition, cartel agreements, or all the companies being weighed down by historical investments, but you guys do lead the world in what you pay for communications.
  • Guspaz - Wednesday, October 12, 2011 - link

    According to the CIA world factbook (yes, I use a foreign agency's site for info on my own country), 90% of Canada's population lives within 160km of the US border.

    If we make an estimated measurement and take the southern border's length at 6416 km, multiply that by 160 and you get an area of about a million square kilometres with a population of, adjusting for the 90%, about 31 million. That would be an actual density in that region of about 31 people per square kilometre.

    That puts us in 180th place, right behind the US in 179, which has a density of 32. This is close enough to say that, within our populated region, we've got about the same population density as the US.
  • ripwell - Saturday, July 3, 2010 - link

    Are you comparing data plans to voice and data plans? Telia was blasted when the iPhone first came out with some of the most expensive plans in the world. It's pretty amazing if you're suggesting that you can now get voice and data for just $10 a month.
  • JimmiG - Sunday, July 4, 2010 - link

    "It's pretty amazing if you're suggesting that you can now get voice and data for just $10 a month. "

    You rarely get pre-paid minutes here unless you really want to. You just pay about $6 a month and get billed for your minutes afterwards. In my case, it's about 10¢ per minute, but to phones on the same network, you get unlimited texts, mms's and minutes. Yes, for $6 a month. That includes most of my friends and relatives that's pretty much what I pay for voice and texts.

    Then on top of that, you can add your data plan, for example 1GB a month at 6Mb is $9 (add $7.8 for 5GB at 10Mb/s).

    -Or, if you really must go crazy, you can get 3,000 minutes for $65. Combined with 5GB/month at 10Mb/s, you're paying roughly $82. That's the absolute maximum. No subsidized phone, but you get over 3x more minutes than the iPhone deal and 2.5x the amount of data. The phones aren't really subsidized at all when you look at the total cost.

    "You could maybe compare to Ontario (our most populated province) however, you are less than half their size with 80% of their population. When calculated out you still have almost twice the population density of our most populated province. "

    But what about the US? Its population density is 32/km2 vs 20.6/km2 for Sweden. There are definitely states that are comparable in size and population density.

Log in

Don't have an account? Sign up now