HTML Preparation code:
Tests:
  • getElementById + getElementByClass

  • querySelector

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    getElementById + getElementByClass
    querySelector

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.124 YaBrowser/22.9.3.894 Yowser/2.5 Safari/537.36
Yandex Browser 22 on Linux
View result in a separate tab
Test name Executions per second
getElementById + getElementByClass 2050426.9 Ops/sec
querySelector 1899853.8 Ops/sec


;