HTML Preparation code:
Tests:
  • getElementById

  • querySelector(ID)

  • querySelectorAll(ID)

  • exposed global object

  • exposed under the window object

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    getElementById
    querySelector(ID)
    querySelectorAll(ID)
    exposed global object
    exposed under the window object

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Chrome 144 on Windows
View result in a separate tab
Test name Executions per second
getElementById 4348108.0 Ops/sec
querySelector(ID) 2903749.8 Ops/sec
querySelectorAll(ID) 1993796.9 Ops/sec
exposed global object 2887832.0 Ops/sec
exposed under the window object 2830960.8 Ops/sec