Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133
Linux
Desktop
one year ago
1) innerHTML +=
9.0M/s
3) appendChild
3.1M/s
2) insertAdjacentHTML
3.0M/s
4) insertAdjacentElement
2.7M/s
View exact numbers
Test name Executions per second
1) innerHTML += 8,965,394 Ops/sec
3) appendChild 3,068,102 Ops/sec
2) insertAdjacentHTML 2,985,552 Ops/sec
4) insertAdjacentElement 2,713,904 Ops/sec
Script Preparation code:
Tests: