Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Mac OS X 10.15
Desktop
21 days ago
Test name Executions per second
1) innerHTML += 26789774.0 Ops/sec
2) insertAdjacentHTML 4299057.5 Ops/sec
3) appendChild 14899395.0 Ops/sec
4) insertAdjacentElement 14004610.0 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;