Run details:
Mozilla/5.0 (Android 10; Mobile; rv:109.0) Gecko/113.0 Firefox/113.0
Firefox Mobile 113
Android
Mobile
one year ago
Test name Executions per second
createTextNode 404583.2 Ops/sec
textContent 578593.9 Ops/sec
innerText 372856.1 Ops/sec
innerHTML 575287.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML