Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-N950F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/19.0 Chrome/102.0.5005.125 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
one year ago
Test name Executions per second
createTextNode 233176.5 Ops/sec
textContent 850456.4 Ops/sec
innerText 259024.1 Ops/sec
innerHTML 55446.6 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML


;