Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Linux
Desktop
8 months ago
Test name Executions per second
createTextNode 1402300.0 Ops/sec
textContent 2247081.5 Ops/sec
innerText 1694997.4 Ops/sec
innerHTML 2791819.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML