Run details:
Mozilla/5.0 (Android 12; Mobile; rv:129.0) Gecko/129.0 Firefox/129.0
Firefox Mobile 129
Android
Mobile
3 months ago
Test name Executions per second
1) innerHTML += 3203500.8 Ops/sec
2) insertAdjacentHTML 315592.4 Ops/sec
3) appendChild 1797386.5 Ops/sec
4) insertAdjacentElement 1531905.5 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement