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 276299.3 Ops/sec
textContent 1156998.0 Ops/sec
innerText 350567.4 Ops/sec
innerHTML 53609.7 Ops/sec
nodeValue 1622610.1 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML

  • nodeValue