Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Mac OS X 10.13
Desktop
one year ago
Test name Executions per second
createTextNode 657224.9 Ops/sec
textContent 1562521.6 Ops/sec
innerText 1076244.9 Ops/sec
innerHTML 1819775.6 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML