HTML Preparation code:
Tests:
  • jQuery class selector

  • querySelectorAll for class

  • getElementsByClassName

  • jQuery tag selector

  • querySelectorAll for tag

  • getElementsByTagName

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    jQuery class selector
    querySelectorAll for class
    getElementsByClassName
    jQuery tag selector
    querySelectorAll for tag
    getElementsByTagName

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Chrome 79 on Mac OS X 10.15.2
View result in a separate tab
Test name Executions per second
jQuery class selector 723823.1 Ops/sec
querySelectorAll for class 1426242.4 Ops/sec
getElementsByClassName 4764920.5 Ops/sec
jQuery tag selector 638157.4 Ops/sec
querySelectorAll for tag 1391075.6 Ops/sec
getElementsByTagName 4712127.0 Ops/sec


;