HTML 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: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92 on Linux
View result in a separate tab
Test name Executions per second
getElementById 4048697.0 Ops/sec
querySelector 4106240.2 Ops/sec