Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Linux
Desktop
one year ago
Test name Executions per second
createTextNode 1613359.1 Ops/sec
textContent 2373144.2 Ops/sec
innerText 1460256.9 Ops/sec
innerHTML 2359095.8 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML