Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.13
Desktop
8 months ago
Test name Executions per second
createTextNode 550543.4 Ops/sec
textContent 915281.8 Ops/sec
innerText 633504.6 Ops/sec
innerHTML 942248.6 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML