Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Linux
Desktop
6 months ago
Test name Executions per second
1) innerHTML += 35820188.0 Ops/sec
2) insertAdjacentHTML 4722403.5 Ops/sec
3) appendChild 14613334.0 Ops/sec
4) insertAdjacentElement 13305232.0 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;