Re:Are mobile web apps really slow?
by ecopoesis on Friday July 12, 2013 @09:00AM
(#6032321)
Do you have any proof that DOM manipulation is slow? This is a common refrain that I've never seen proof of (other then anecdotally). There are folks saying that the DOM is fast, and how the JS we use to manipulate it is slow. http://blog.korynunn.com/javascript/the-dom-isnt-slow-you-ar...
[ Parent
| on HN ]
To be fair, I'm not sure I would endeavor to make a mobile-only web app load 10000 elements to the DOM all at once. When I set to 2000, for instance, I can get below 200ms on Android 4.1.1 in chrome.
Below 200ms? Still nowhere smooth enough to get to 60fps.
Ran this on Android 4.1.1 in chrome and it was 913ms. Desktop was ~40ms on average.
Safari on an iPhone 5: 165ms. Surprised that the difference was so large.