Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Ubuntu
Desktop
one year ago
Test name Executions per second
1) innerHTML += 13229025.0 Ops/sec
2) insertAdjacentHTML 1501631.6 Ops/sec
3) appendChild 5543342.5 Ops/sec
4) insertAdjacentElement 4533493.0 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;