Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
insertBefore 3933244.8 Ops/sec
appendChild 4169910.0 Ops/sec
prepend 2901559.0 Ops/sec
insertAdjacentElement 3630247.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • insertBefore

  • appendChild

  • prepend

  • insertAdjacentElement