Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Linux
Desktop
one year ago
Test name Executions per second
createTextNode 2382802.2 Ops/sec
textContent 12273540.0 Ops/sec
innerText 3062549.2 Ops/sec
innerHTML 5204551.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML