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
2 months ago
Test name Executions per second
1) innerHTML += 408939.1 Ops/sec
2) insertAdjacentHTML 95609.2 Ops/sec
3) appendChild 308394.8 Ops/sec
4) insertAdjacentElement 285840.5 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;