Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Windows
Desktop
one year ago
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
Script Preparation code:
Tests:
  • <a> setAttribute

  • <a> assignment (=)

  • <input> assignment (=)

  • <input> setAttribute