Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Windows
Desktop
6 years ago
Test name Executions per second
createTextNode 1749348.2 Ops/sec
textContent 2845803.5 Ops/sec
innerText 1936740.6 Ops/sec
innerHTML 2824030.8 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML