Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    createTextNode
    textContent
    innerText
    innerHTML

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97 on Linux
View result in a separate tab
Test name Executions per second
createTextNode 8222736.5 Ops/sec
textContent 2655173.2 Ops/sec
innerText 1806766.9 Ops/sec
innerHTML 2681648.0 Ops/sec