I'd like if JavaScript method performance comparisons included the time it takes to 1) download, 2) parse, and 3) run a script (not just #3)
-
-
@mathias which method modifies an element in the DOM sooner is what we often care most about, yet it's rarely factored into perf discussion.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mathias Not sure. Just thinking that a slow method (js-perf wise) that downloads in half the time may be preferable to a big, faster methodThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mathias maybe #1 could be simulated by considering file size and common connection speeds in a calculationThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.