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: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
Chrome 93 on Linux
View result in a separate tab
Test name Executions per second
Default 1541.7 Ops/sec
each with setAttribute 1583.6 Ops/sec
setAttribute with loop 1605.0 Ops/sec
Detached 1796.9 Ops/sec


;