26 ms·
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 tha
by ecopoesis 13y ago
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-are/ http://blog.korynunn.com/javascript/the-dom-isnt-slow-you-ar...
- iknight 13y agoRan this on Android 4.1.1 in chrome and it was 913ms. Desktop was ~40ms on average.
- iknight 13y agoTo 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.
- coldtea 13y agoBelow 200ms? Still nowhere smooth enough to get to 60fps.