3 ms·
Only JS execution is 3x slower -- everything else (DOM, layout, repaint, parsing) is the same. Most web pages (and even web applications) are rarely bottleneck
by dbloom 14y ago
Only JS execution is 3x slower -- everything else (DOM, layout, repaint, parsing) is the same.
Most web pages (and even web applications) are rarely bottlenecked by JS execution speed. (There are a few exceptions to this rule...for example, the JS GameBoy Color emulator probably won't work very well)
- bzbarsky 14y agoYou mean the same as Mobile Safari, not the same as Chrome, right? Because "repaint" is not part of WebKit proper (it's implemented separately in Chrome and Safari, for example). And even "layout" is different code on iOS and in other WebKit ports...
- dbloom 14y agoYes, that's right: I'm comparing CriOS to Mobile Safari, not to Chrome for Android or PC/Mac. That's an interesting point about layout. I hadn't even considered how font size adjustment and such comes into play.