• On TV.com: NARUTO SHIPPUDEN Episode 138: The End
advertisement
July 3, 2007 12:00 AM PDT

The iPhone's poor JavaScript performance

by Ben Wilson
  • Font size
  • Print
  • 1 comment

No one expected the iPhone to deliver desktop-class performance with regard to Web-based applications, but JavaScript speed on the iPhone is downright sluggish in most respects -- a frustrating fact given that AJAX is the only current method for building dynamic third-party applications for the iPhone.

Celtic Kane online offers a Javascript benchmark that tests various Javascript functions: Try/Catch with errors, Layer movement, Random number engine, Math engine, DOM speed, Array functions String functions and Ajax declaration. In our informal tests, a MacBook Pro running at 1.83GHz with Mac OS X 10.4.10 and the Safari 3.0.2 beta delivered test times of ~300 ms on average. Our in-house iPhones, however, delivered test times in excess of 9000 ms on average.

Of course, benchmarks are benchmarks, so we tested a few of the most intensive AJAX Web apps in existence: games. While they all delivered smooth play on our MacBook Pro, they were virtually unplayable on the iPhone, exhibiting lazy movement and slow response to cursor input. Among the games we tried:

  • BunnyHunt (extremely sluggish movement)
  • Vox Imperium (crashed the iPhone browser)
  • Super Maryo World (unplayable on the iPhone because of the lack of a user-triggered keyboard, but demo is extremely slow)

The Meebo Web-based instant messaging service, which now works to some extent with the iPhone, is also very slow to respond.

Given the poor JavaScript showing, we have to wonder if Flash (or Flash Lite) wasn't ommited due to performance concerns.

Feedback? info@iphoneatlas.com.

Recent posts from iPhone Atlas
Navigon splits the U.S. into bite-size pieces
Zombies, karting, a fiery Frogger, and more: New iPhone games of the week
iPhone app tracks your iPad--or any other delivery
TomTom for iPhone version 1.3 gets new features, traffic charge
PayPal 2.0: Send cash by bumping iPhones
Four awesome alarm clock apps
App update: Rhapsody for iPhone to allow caching
Street Fighter IV hits the iPhone
Add a Comment (Log in or register)
by cabo1 August 5, 2007 5:50 AM PDT
Just so you don't think the iPhone is slow on Celtic Kane's benchmark: Nokia's E90 clocks in at 15200 to 15300 ms. (I briefly thought Symbian had crashed :-)
Reply to this comment

Search iPhone Atlas

advertisement
Click Here

About iPhone Atlas

iPhone Atlas helps you navigate the ins and outs of Apple iPhone ownership with how-tos, troubleshooting information, news, reviews, and more. Got a tip? Want to contact us? E-mail iphoneatlas@cnet.com.

Add this feed to your online news reader

iPhone Atlas topics