Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 8 Pro) 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 503049.5 Ops/sec
textContent 2327224.2 Ops/sec
innerText 544005.8 Ops/sec
innerHTML 124879.5 Ops/sec
nodeValue 2853834.2 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue