Run details:
Mozilla/5.0 (Linux; Android 11; M2004J19PI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
createTextNode 398753.3 Ops/sec
textContent 1913414.4 Ops/sec
innerText 476329.8 Ops/sec
innerHTML 59843.7 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML