HTML Preparation code:
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • append

  • innerHTML

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    createTextNode
    textContent
    innerText
    append
    innerHTML

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96 on Mac OS X 10.14.4
View result in a separate tab
Test name Executions per second
createTextNode 192551.1 Ops/sec
textContent 587.0 Ops/sec
innerText 605.7 Ops/sec
append 361817.2 Ops/sec
innerHTML 24.1 Ops/sec