Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Linux
Desktop
2 years ago
Test name Executions per second
innerHTML 4991353.5 Ops/sec
removeChild 6646904.0 Ops/sec
removeChild backwards 6550820.0 Ops/sec
innerText 4567215.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • removeChild

  • removeChild backwards

  • innerText