wicked slow js speed in iPhone / iPad

wicked slow js speed in iPhone / iPad


I've just started testing some JS/jQuery stuff on an iphone, and finding that my functions are running.... 63 times slower than on Safari.

A set of coordinate calculations that takes 9 ms on Safari (29 ms on Firefox running Firebug) takes 570 ms to run on the iPhone.

This would seem to indicate a limit to the performance and thus the type of app. one can write in JS/HTML while hoping to run it on mobile devices.

An interesting article (from 2007) here:
http://furbo.org/2007/08/15/benchmarking-in-your-pants/

Anyone have any thoughts about this? I haven't tried other mobile devices. Is Android any better?