HTML Preparation code:
Tests:
  • append

  • insertAdjacentHTML

  • appendChild (createDocumentFragment)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    append
    insertAdjacentHTML
    appendChild (createDocumentFragment)

    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: one year ago)
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-S908B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/18.0 Chrome/99.0.4844.88 Mobile Safari/537.36
Chrome Mobile 99 on Android
View result in a separate tab
Test name Executions per second
append 439.0 Ops/sec
insertAdjacentHTML 765.9 Ops/sec
appendChild (createDocumentFragment) 450.7 Ops/sec