Run details:
Mozilla/5.0 (Linux; Android 10; CLT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
createTextNode 318326.1 Ops/sec
textContent 1665622.6 Ops/sec
innerText 459619.2 Ops/sec
innerHTML 109275.3 Ops/sec
nodeValue 2338845.2 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue