Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 123
iOS 17.3
Mobile
7 months ago
Test name Executions per second
1) innerHTML += 4010657.8 Ops/sec
2) insertAdjacentHTML 1770333.4 Ops/sec
3) appendChild 546560.9 Ops/sec
4) insertAdjacentElement 446267.1 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;