Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G930F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36
Chrome Mobile 105
Android 8.0.0
Mobile
2 years ago
Test name Executions per second
createTextNode 320762.7 Ops/sec
textContent 1342157.9 Ops/sec
innerText 386955.3 Ops/sec
innerHTML 63963.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML