Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows
Desktop
one year ago
Test name Executions per second
createTextNode 1755909.2 Ops/sec
textContent 3458941.2 Ops/sec
innerText 2065134.0 Ops/sec
innerHTML 3338405.2 Ops/sec
nodeValue 60951364.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue


;