Script Preparation code:
Tests:
  • 1) innerHTML +=

  • 2) insertAdjacentHTML

  • 3) appendChild

  • 4) insertAdjacentElement

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    1) innerHTML +=
    2) insertAdjacentHTML
    3) appendChild
    4) insertAdjacentElement

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 8 hours ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130 on Windows
View result in a separate tab
Test name Executions per second
1) innerHTML += 10458860.0 Ops/sec
2) insertAdjacentHTML 1372006.0 Ops/sec
3) appendChild 6101468.0 Ops/sec
4) insertAdjacentElement 5200638.0 Ops/sec