Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
11 months ago
Test name Executions per second
createTextNode 1089536.4 Ops/sec
textContent 7208062.5 Ops/sec
innerText 1930643.5 Ops/sec
innerHTML 818645.7 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML