Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Ubuntu
Desktop
one year ago
Test name Executions per second
createTextNode 2465844.5 Ops/sec
textContent 12073394.0 Ops/sec
innerText 2722017.5 Ops/sec
innerHTML 4441039.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML