Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Linux
Desktop
3 years ago
Test name Executions per second
innerHTML 2305331.5 Ops/sec
removeChild 2995201.0 Ops/sec
remove 3036992.2 Ops/sec
innerText 2230011.0 Ops/sec
textContent 2266371.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • removeChild

  • remove

  • innerText

  • textContent