Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Ubuntu
Desktop
4 years ago
Test name Executions per second
createTextNode 915924.1 Ops/sec
textContent 1904022.9 Ops/sec
innerText 1109430.9 Ops/sec
innerHTML 1915416.4 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML