Run details:
Mozilla/5.0 (Linux; Android 11; Mi Note 10 Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
createTextNode 482372.4 Ops/sec
textContent 2419000.0 Ops/sec
innerText 499191.1 Ops/sec
innerHTML 104352.6 Ops/sec
nodeValue 2465572.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue