Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36
Chrome 80
Windows
Desktop
4 years ago
Test name Executions per second
createTextNode 810017.5 Ops/sec
textContent 5078812.5 Ops/sec
innerText 1295678.0 Ops/sec
innerHTML 206852.6 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML


;