Run details:
Mozilla/5.0 (Android 10; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0
Firefox Mobile 102
Android
Mobile
one year ago
Test name Executions per second
createTextNode 386883.9 Ops/sec
textContent 940887.5 Ops/sec
innerText 524627.9 Ops/sec
innerHTML 823346.6 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML