Script Preparation code:
Tests:
  • <a> setAttribute

  • <a> assignment (=)

  • <input> assignment (=)

  • <input> setAttribute

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    <a> setAttribute
    <a> assignment (=)
    <input> assignment (=)
    <input> setAttribute

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114 on Windows
View result in a separate tab
Test name Executions per second
<a> setAttribute 5378188.5 Ops/sec
<a> assignment (=) 5124156.0 Ops/sec
<input> assignment (=) 2126101.2 Ops/sec
<input> setAttribute 5587344.5 Ops/sec