HTML Preparation code:
Tests:
  • setAttribute

  • className

  • classList

  • setAttribte=List

  • className=List

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    setAttribute
    className
    classList
    setAttribte=List
    className=List

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119 on Linux
View result in a separate tab
Test name Executions per second
setAttribute 3831.8 Ops/sec
className 4448.7 Ops/sec
classList 679.6 Ops/sec
setAttribte=List 2880.0 Ops/sec
className=List 3150.9 Ops/sec


;