Test name | Executions per second |
---|---|
querySelectorAll tag & class | 238993.0 Ops/sec |
querySelectorAll only tag | 335008.7 Ops/sec |
querySelectorAll only class | 324965.1 Ops/sec |
getElementsByClassName | 1201643.6 Ops/sec |
getElementsByTagName | 1175168.6 Ops/sec |