Test case name | Result |
---|---|
querySelector | |
querySelectorAll | |
getElementsByClassName | |
getElementById |
Test name | Executions per second |
---|---|
querySelector | 3738845.0 Ops/sec |
querySelectorAll | 1540853.8 Ops/sec |
getElementsByClassName | 7151239.0 Ops/sec |
getElementById | 6626049.5 Ops/sec |