Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) SFive/95.0 Chrome/95.0.4638.54 Safari/537.36
Chrome 95
Linux
Desktop
one year ago
Test name Executions per second
1) innerHTML += 1943315.2 Ops/sec
2) insertAdjacentHTML 521996.7 Ops/sec
3) appendChild 1237588.2 Ops/sec
4) insertAdjacentElement 1180438.2 Ops/sec
Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement


;