Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Windows
Desktop
7 months ago
Test name Executions per second
replaceChildren 135.7 Ops/sec
while w/ appendChild 84.4 Ops/sec
replaceChildren w/ fragments 139.4 Ops/sec
innerHTML w/ fragments 93.1 Ops/sec
while w/ fragments 87.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • replaceChildren

  • while w/ appendChild

  • replaceChildren w/ fragments

  • innerHTML w/ fragments

  • while w/ fragments