Test name | Executions per second |
---|---|
querySelectorAll + forEach | 752203.2 Ops/sec |
getElementsByTagName + Array.from + forEach | 854867.8 Ops/sec |
querySelectorAll + length + for | 1158108.1 Ops/sec |
getElementsByTagName + length + for | 4653628.5 Ops/sec |
querySelectorAll + dynamic length + for | 1063859.5 Ops/sec |
getElementsByTagName + dynamic length + for | 2370131.2 Ops/sec |