Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Linux
Desktop
9 months ago
Test name Executions per second
1) innerHTML += 9960586.0 Ops/sec
2) insertAdjacentHTML 1027139.9 Ops/sec
3) appendChild 4662909.5 Ops/sec
4) insertAdjacentElement 3826027.2 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;