Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Mac OS X 10.15
Desktop
one month ago
Test name Executions per second
1) innerHTML += 14242462.0 Ops/sec
2) insertAdjacentHTML 2120256.8 Ops/sec
3) appendChild 7671759.0 Ops/sec
4) insertAdjacentElement 6832010.5 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;