Welcome, Guest
Please Login or Register.    Lost Password?
The iPhone’s poor JavaScript performance (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: The iPhone’s poor JavaScript performance
#1884
mobilers (User)
Gold Boarder
Posts: 173
graphgraph
User Offline Click here to see the profile of this user
The iPhone’s poor JavaScript performance 1 Year ago  
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by Air Mobilesget the latest posts directly to your desktop

Translate ...

English Français/French Deutsch/German Español/Spanish Italiano/Italian Nederlands/Dutch ελληνικά/Greek Português/Portuguese русско/Russian العربية/Arabic 日本語/Japanese 한국어/Korean 简体中文/Chinese Simplified 普通话/Chinese Traditional

New Post

Featured Post

Mobilers Community

We have 1 guest and no users online
777 registered
1 today
2 this week
2 this month