Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Linux
Desktop
one year ago
Test name Executions per second
createTextNode 1626565.2 Ops/sec
textContent 3285967.2 Ops/sec
innerText 1932117.0 Ops/sec
innerHTML 3380192.2 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML