Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SM-N910C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android 6.0.1
Mobile
one year ago
Test name Executions per second
createTextNode 131068.9 Ops/sec
textContent 763992.2 Ops/sec
innerText 170084.6 Ops/sec
innerHTML 27385.8 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML