HTML Preparation code:
Script Preparation code:
Tests:
  • getElementById

  • querySelector

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    getElementById
    querySelector

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79 on Linux
View result in a separate tab
Test name Executions per second
getElementById 2512872.2 Ops/sec
querySelector 1662780.0 Ops/sec