Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
createTextNode 359556.5 Ops/sec
textContent 1445743.0 Ops/sec
innerText 481196.4 Ops/sec
innerHTML 65593.0 Ops/sec
nodeValue 1862897.9 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue