Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Linux
Desktop
6 months ago
Test name Executions per second
createTextNode 2323661.5 Ops/sec
textContent 3161350.0 Ops/sec
innerText 2051975.0 Ops/sec
append 3596547.0 Ops/sec
new text 2732787.8 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • append

  • new text