Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43
Chrome 114
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
innerHTML 3732202.0 Ops/sec
removeChild 8019827.0 Ops/sec
remove 8028739.5 Ops/sec
innerText 5384714.0 Ops/sec
textContent 3737176.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • removeChild

  • remove

  • innerText

  • textContent


;