Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0 IceDragon/64.0.2
Firefox 64
Windows
Desktop
5 years ago
Test name Executions per second
createTextNode 474225.7 Ops/sec
textContent 978237.4 Ops/sec
innerText 619704.6 Ops/sec
innerHTML 1016747.4 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML