Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Linux
Desktop
26 days ago
Test name Executions per second
createTextNode 759022.2 Ops/sec
textContent 1159190.0 Ops/sec
innerText 722101.6 Ops/sec
innerHTML 1099033.8 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML