Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Ubuntu
Desktop
3 years ago
Test name Executions per second
createTextNode 732695.9 Ops/sec
textContent 1335431.0 Ops/sec
innerText 945555.5 Ops/sec
nodeValue 17704890.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • nodeValue