HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML += (remove)

  • innerHTML += (display none)

  • appendChild

  • insertAdjacentElement

  • insertAdjacentHTML (remove)

  • insertAdjacentHTML ( display none )

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    innerHTML += (remove)
    innerHTML += (display none)
    appendChild
    insertAdjacentElement
    insertAdjacentHTML (remove)
    insertAdjacentHTML ( display none )

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36
Chrome 75 on Windows
View result in a separate tab
Test name Executions per second
innerHTML += (remove) 0.4 Ops/sec
innerHTML += (display none) 0.4 Ops/sec
appendChild 1152395.0 Ops/sec
insertAdjacentElement 1088218.0 Ops/sec
insertAdjacentHTML (remove) 57409.3 Ops/sec
insertAdjacentHTML (display none) 61411.0 Ops/sec