HTML Preparation code:
Script Preparation code:
Tests:
  • fastest iter childelements

  • tag name

  • class name

  • id

  • array of node

  • array item

  • fastest iter childelements + getAttribute

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    fastest iter childelements
    tag name
    class name
    id
    array of node
    array item
    fastest iter childelements + getAttribute

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36
Chrome 95 on Linux
View result in a separate tab
Test name Executions per second
fastest iter childelements 1264905.4 Ops/sec
tag name 827169.4 Ops/sec
class name 810626.9 Ops/sec
id 608968.5 Ops/sec
array of node 792838.8 Ops/sec
array item 2102137.2 Ops/sec
fastest iter childelements + getAttribute 2078095.9 Ops/sec


;