Run details:
Mozilla/5.0 (Android 10; Mobile; rv:79.0) Gecko/79.0 Firefox/79.0
Firefox Mobile 79
Android
Mobile
4 years ago
Test name Executions per second
createTextNode 612376.1 Ops/sec
textContent 1126989.6 Ops/sec
innerText 828793.9 Ops/sec
innerHTML 1057554.5 Ops/sec
nodeValue 14023581.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue