Run details:
Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
Chrome 91
Windows 8.1
Desktop
3 years ago
Test name Executions per second
createTextNode 95970.5 Ops/sec
textContent 589286.2 Ops/sec
innerText 148581.4 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText


;