Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Windows
Desktop
4 months ago
Test name Executions per second
createTextNode 2471343.8 Ops/sec
textContent 3875339.2 Ops/sec
innerText 2241697.2 Ops/sec
innerHTML 3946933.8 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML