Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Linux
Desktop
5 months ago
Test name Executions per second
createTextNode 4422651.0 Ops/sec
textContent 5990734.5 Ops/sec
innerText 3489554.2 Ops/sec
innerHTML 5944808.0 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML