Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Linux
Desktop
12 days ago
Test name Executions per second
1) innerHTML += 10551418.0 Ops/sec
2) insertAdjacentHTML 1244981.2 Ops/sec
3) appendChild 5263845.5 Ops/sec
4) insertAdjacentElement 4646340.5 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;