Run details:
Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Windows
Desktop
9 months ago
Test name Executions per second
1) innerHTML += 108762.8 Ops/sec
2) insertAdjacentHTML 103273.2 Ops/sec
3) appendChild 79440.8 Ops/sec
4) insertAdjacentElement 77663.9 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;