Tests:
-
getElementByID+querySelectorAll
-
querySelectorAll
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
3 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:150.0) Gecko/20100101 Firefox/150.0
Firefox 150 on Linux
View result in a separate tab
getElementByID+querySelectorAll
3.6M/s
View exact numbers
| Test name |
Executions per second |
|
✓
getElementByID+querySelectorAll
|
3,595,496 Ops/sec |
|
querySelectorAll
|
1,092,292 Ops/sec |
Do you really want to delete benchmark?