Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SAMSUNG SM-A530F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.2 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android 8.0.0
Mobile
2 years ago
Test name Executions per second
createTextNode 299453.0 Ops/sec
textContent 1020808.4 Ops/sec
innerText 401938.0 Ops/sec
innerHTML 54861.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML