Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
createTextNode 402737.4 Ops/sec
textContent 2170097.8 Ops/sec
innerText 686615.2 Ops/sec
nodeValue 3151156.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • nodeValue