Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
26 days ago
Test name Executions per second
Remove firstChild 3969051.0 Ops/sec
Remove lastChild 3984232.0 Ops/sec
firstChild.remove 3939422.2 Ops/sec
lastChild.remove 3946298.0 Ops/sec
replaceChildren 1564485.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Remove firstChild

  • Remove lastChild

  • firstChild.remove

  • lastChild.remove

  • replaceChildren


;