Run details:
Mozilla/5.0 (Linux; Android 10; COL-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Mobile Safari/537.36
Chrome Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
createTextNode 330695.9 Ops/sec
textContent 895813.2 Ops/sec
innerText 351183.1 Ops/sec
innerHTML 75778.0 Ops/sec
nodeValue 987402.4 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue