HTML Preparation code:
Script Preparation code:
Tests:
  • Default

  • each with setAttribute

  • setAttribute with loop

  • Detached

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Default
    each with setAttribute
    setAttribute with loop
    Detached

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
Firefox 101 on Linux
View result in a separate tab
Test name Executions per second
Default 1414.9 Ops/sec
each with setAttribute 1717.6 Ops/sec
setAttribute with loop 1655.1 Ops/sec
Detached 2410.2 Ops/sec


;