Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
createTextNode 1243185.1 Ops/sec
textContent 2275605.5 Ops/sec
innerText 1652650.8 Ops/sec
innerHTML 2342894.8 Ops/sec
nodeValue 44933840.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue


;