Run details:
Mozilla/5.0 (Linux; Android 8.1.0; LG-M700) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android 8.1.0
Mobile
3 years ago
Test name Executions per second
createTextNode 87326.0 Ops/sec
textContent 256703.0 Ops/sec
innerText 105676.4 Ops/sec
innerHTML 22304.8 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML