Run details:
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36
Chrome 57
Linux
Desktop
2 years ago
Test name Executions per second
createTextNode 422206.2 Ops/sec
textContent 3988886.5 Ops/sec
innerText 1782705.4 Ops/sec
innerHTML 178014.6 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML