HTML Preparation code:
Tests:
  • getElementsByClassName

  • getElementById

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    getElementsByClassName
    getElementById

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56 on Mac OS X 10.11
View result in a separate tab
Test name Executions per second
getElementsByClassName 2500964.8 Ops/sec
getElementById 2317802.2 Ops/sec


;