Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Linux
Desktop
8 months ago
Test name Executions per second
createTextNode 1016177.4 Ops/sec
textContent 6008089.5 Ops/sec
innerText 1340765.9 Ops/sec
innerHTML 628724.1 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML