Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Ubuntu
Desktop
one year ago
Test name Executions per second
1) innerHTML += 10220429.0 Ops/sec
2) insertAdjacentHTML 1286869.1 Ops/sec
3) appendChild 5036703.5 Ops/sec
4) insertAdjacentElement 4536304.5 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;