Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Linux
Desktop
10 months ago
Test name Executions per second
1) innerHTML += 13856132.0 Ops/sec
2) insertAdjacentHTML 1184800.5 Ops/sec
3) appendChild 5768938.5 Ops/sec
4) insertAdjacentElement 4811827.5 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;