Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
createTextNode 492969.2 Ops/sec
textContent 2783705.8 Ops/sec
innerText 725517.4 Ops/sec
innerHTML 138973.0 Ops/sec
nodeValue 3822339.2 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue


;