Test case name | Result |
---|---|
querySelector | |
getElementsByClassName (first element of) | |
getElementById |
Test name | Executions per second |
---|---|
querySelector | 5316136.0 Ops/sec |
getElementsByClassName (first element of) | 3526762.0 Ops/sec |
getElementById | 4539970.0 Ops/sec |