Test case name | Result |
---|---|
querySelectorAll tag & class | |
querySelectorAll only tag | |
querySelectorAll only class | |
getElementsByClassName | |
getElementsByTagName |
Test name | Executions per second |
---|---|
querySelectorAll tag & class | 164696.2 Ops/sec |
querySelectorAll only tag | 236659.2 Ops/sec |
querySelectorAll only class | 202339.0 Ops/sec |
getElementsByClassName | 580716.0 Ops/sec |
getElementsByTagName | 619588.9 Ops/sec |