Run details:
Mozilla/5.0 (Linux; Android 9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
one year ago
Test name Executions per second
1) innerHTML += 1351254.8 Ops/sec
2) insertAdjacentHTML 127721.1 Ops/sec
3) appendChild 839743.3 Ops/sec
4) insertAdjacentElement 745418.8 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;