Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Chrome 62
Linux
Desktop
6 years ago
Test name Executions per second
createTextNode 328229.6 Ops/sec
textContent 5005791.0 Ops/sec
innerText 1495833.2 Ops/sec
innerHTML 154395.7 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML