Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 NAVER(inapp; cafe; 100; 9.1.0)
Mobile Safari 16
iOS 16.6
Mobile
one year ago
Test name Executions per second
1) innerHTML += 7860683.5 Ops/sec
2) insertAdjacentHTML 3562378.8 Ops/sec
3) appendChild 6233573.5 Ops/sec
4) insertAdjacentElement 5917773.0 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement