Run details:
Mozilla/5.0 (Android 10; Mobile; rv:80.0) Gecko/80.0 Firefox/80.0
Firefox Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
createTextNode 487451.2 Ops/sec
textContent 783184.9 Ops/sec
innerText 599086.4 Ops/sec
innerHTML 794692.4 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML