Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
innerHTML 0.0 Ops/sec
replaceChildren 582581.1 Ops/sec
remove and insert 800033.1 Ops/sec
remove and replace 425445.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • replaceChildren

  • remove and insert

  • remove and replace