Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
createTextNode 3317693.5 Ops/sec
textContent 5885441.0 Ops/sec
innerText 4074983.0 Ops/sec
innerHTML 6049277.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML


;