Run details:
Mozilla/5.0 (Android 10; Mobile; rv:97.0) Gecko/97.0 Firefox/97.0
Firefox Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
createTextNode 771078.0 Ops/sec
textContent 1267542.1 Ops/sec
innerText 860833.2 Ops/sec
innerHTML 1260901.9 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML