HTML Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    The method getElementsByClassName()
    The method querySelectorAll()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15
Safari 26 on Mac OS X 10.15.7
View result in a separate tab
The method getElementsByClassName()
58.1M/s
The method querySelectorAll()
3.6M/s
View exact numbers
Test name Executions per second
The method getElementsByClassName() 58,100,964 Ops/sec
The method querySelectorAll() 3,578,728 Ops/sec