HTML Preparation code:
Script Preparation code:
Tests:
  • form.elements

  • getElementsByTagName

  • querySelectorAll

  • getElementsByClassName

  • getElementsByName

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    form.elements
    getElementsByTagName
    querySelectorAll
    getElementsByClassName
    getElementsByName

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox 106 on Windows
View result in a separate tab
Test name Executions per second
form.elements 1314126.0 Ops/sec
getElementsByTagName 1663796.0 Ops/sec
querySelectorAll 594754.4 Ops/sec
getElementsByClassName 1709052.0 Ops/sec
getElementsByName 1902293.0 Ops/sec