Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Windows
Desktop
6 months ago
Test name Executions per second
createTextNode 1650273.5 Ops/sec
textContent 6523747.5 Ops/sec
innerText 1508112.4 Ops/sec
innerHTML 2283211.2 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML