Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4514.0 Safari/537.36 Edg/92.0.902.2
Chrome 92
Linux
Desktop
3 years ago
Test name Executions per second
createTextNode 1212776.1 Ops/sec
textContent 4947366.0 Ops/sec
innerText 1321853.8 Ops/sec
innerHTML 368672.7 Ops/sec
nodeValue 6546261.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue


;