Test case name | Result |
---|---|
getElementById | |
querySelector | |
getElementById and getElementsByClassName |
Test name | Executions per second |
---|---|
getElementById | 13874970.0 Ops/sec |
querySelector | 7117081.0 Ops/sec |
getElementById and getElementsByClassName | 7057708.0 Ops/sec |