Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.0 Safari/537.36
Chrome 101
Linux
Desktop
one year ago
Test name Executions per second
innerText 117.4 Ops/sec
innerHtml 179288.2 Ops/sec
textContent 1163.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerText

  • innerHtml

  • textContent