HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector class

  • getElementsByClassName

  • getElementById

  • querySelector with wildcards

  • querySelectorAll with wildcards

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    querySelector class
    getElementsByClassName
    getElementById
    querySelector with wildcards
    querySelectorAll with wildcards

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Chrome 136 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
querySelector class 21254566.0 Ops/sec
getElementsByClassName 32187402.0 Ops/sec
getElementById 43989208.0 Ops/sec
querySelector with wildcards 8790021.0 Ops/sec
querySelectorAll with wildcards 2943414.2 Ops/sec