Run details:
Mozilla/5.0 (Linux; Android 9; Unspecified Device) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.0.0 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
createTextNode 254637.9 Ops/sec
textContent 1126234.4 Ops/sec
innerText 405710.3 Ops/sec
innerHTML 47181.6 Ops/sec
nodeValue 1522526.4 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue