Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Windows 7
Desktop
3 years ago
Test name Executions per second
createTextNode 281571.6 Ops/sec
textContent 819269.7 Ops/sec
innerText 491169.5 Ops/sec
innerHTML 733911.7 Ops/sec
nodeValue 14159151.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue


;