Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
2 years ago
Test name Executions per second
createTextNode 587099.4 Ops/sec
textContent 2957036.5 Ops/sec
innerText 638540.3 Ops/sec
innerHTML 73492.0 Ops/sec
nodeValue 4382201.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue