Run details:
Mozilla/5.0 (Linux; Android 9; SM-N950F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.101 Mobile Safari/537.36 OPR/60.0.3004.55063
Opera Mobile 60
Android
Mobile
3 months ago
Test name Executions per second
1) innerHTML += 411128.6 Ops/sec
2) insertAdjacentHTML 98110.8 Ops/sec
3) appendChild 306187.8 Ops/sec
4) insertAdjacentElement 281011.1 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;