Run details:
Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Android
Desktop
3 years ago
Test name Executions per second
createTextNode 281164.9 Ops/sec
textContent 1040364.3 Ops/sec
innerText 400989.3 Ops/sec
innerHTML 53588.3 Ops/sec
nodeValue 1623706.2 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue