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 1243653.5 Ops/sec
textContent 2279999.2 Ops/sec
innerText 1671279.0 Ops/sec
innerHTML 2343847.5 Ops/sec
nodeValue 44841396.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue


;