Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127
Windows
Desktop
4 months ago
Test name Executions per second
1) innerHTML += 34015420.0 Ops/sec
2) insertAdjacentHTML 3707668.2 Ops/sec
3) appendChild 15344668.0 Ops/sec
4) insertAdjacentElement 13416039.0 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;