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

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/83.0.4103.122 Safari/537.36 Konqueror (WebEnginePart)
Chrome 83 on Linux
View result in a separate tab
Test name Executions per second
append 1474.4 Ops/sec
insertAdjacentHTML 291.2 Ops/sec
appendChild (createDocumentFragment) 1008.1 Ops/sec