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
textContent 1484169.0 Ops/sec
innerText 225799.0 Ops/sec
innerHTML 1884752.5 Ops/sec
nodeValue 3170688.8 Ops/sec
Script Preparation code:
Tests:
  • textContent

  • innerText

  • innerHTML

  • nodeValue