• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps jquery on android is very slow compared to windows phone

techcrj

Lurker
My website uses jQuery and the it's main feature uses a loop. On the desktop, all 3 browsers (GC, FF, IE11) executes the loop approx. 1,100 times a minute. On Windows Phone, it does 1,000 times a minute, a bit slower. But on Android in particular, it only gets about 500, and the UI updating is slow. I don't know about iPhone.
Can anyone give me advice on why my jQuery is running much slower on Android then the rest of the platforms I've tested?

Thanks!
 
Try the site in IE5 or IE6 if you want to learn what "slow" means.

jQuery is handy for people who can't write Javascript, but it's not the way to write a fast, snappy site.

Advice on WHY it's running slower? Because the Javascript parser in Android browsers is a lot slower than the ones in desktop browsers.

Advice on what to do? Get rid of jQuery - at least on the mobile version of the site.
 
Back
Top Bottom