Run details:
Mozilla/5.0 (Linux; Android 10; CLT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
createTextNode 398392.1 Ops/sec
textContent 2240956.0 Ops/sec
innerText 687067.0 Ops/sec
innerHTML 136199.7 Ops/sec
nodeValue 2900673.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue