canmove, Confirmed users
1,448
edits
 (→Hypothesis 2: NodeList Iteration Is Slow:   Measure Array.from starting from 3rd launch)  | 
				 (→Hypothesis 2: NodeList Iteration Is Slow:  getElementsByClassName is slow too)  | 
				||
| Line 44: | Line 44: | ||
* NodeList.length: 0.07 ms  | * NodeList.length: 0.07 ms  | ||
* Array.from:  0.22ms  | * Array.from:  0.22ms  | ||
I doesn't matter if we're using <code>querySelectorAll</code> or <code>getElementsByClassName</code> (with a special class for this purpose).  | |||
Hypothesis: we're the first code that requests these DOM nodes and it's slow.  | |||
==Hypothesis 3: Formatting Translations Is Slow==  | ==Hypothesis 3: Formatting Translations Is Slow==  | ||