Mobile game development tool maker Spaceport.io recently conducted an in-depth study comparing HTML5 games on different platforms, including iPad, iPhone, iPod Touch, and Android.
The goal was to discover which platform was the fastest at running games written in HTML5. To conduct the test, Spaceport.io used a benchmark called PerfMarks to test how well each device ran the code. The clear winner? iOS, by leagues. In fact, iOS performed three times better running HTML5 games than Android.
The benchmark, which tested a device’s ability to animate image movement, revealed that iOS performed a lot better at running animations than Android did.
The iPhone 4S scored 252 PerfMarks, while the iPad 2 scored 327. The iPhone 3GS, which is from 2009, scored just 53. In comparison, the Samsung Galaxy Nexus scored 147, the Samsung Galaxy Tab 10.1 scored 65, and the Kindle Fire scored 25. Yes, the iPhone from 2009 outperforms Amazon’s Kindle Fire.
The iPad 2 beat every Android device tested, and Samsung’s newly released Galaxy Nexus was actually the only Android device that could handle images at the acceptable 30 frames per second. The Samsung Galaxy Tab scored far under what it should have.
iOS 5 and Android 4.0 (Ice Cream Sandwich) both registered significant improvements – approximately 100 percent – running HTML5 games. With Ice Cream Sandwich and beyond (devices without ICS didn’t stand a chance) , Android devices may improve enough to be able to successfully run HTML5 games, but for now, the platform has a lot of catching up to do to be on par with Apple devices running iOS 5.
The good news? HTML5 is continually getting faster, and while there’s a long way to go, there’s hope in the future for HTML5 games that will function equally well on all devices, iOS and Android.