Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
11 months ago
Test name Executions per second
insertBefore 4234366.0 Ops/sec
appendChild 4202799.5 Ops/sec
prepend 3543310.5 Ops/sec
insertAdjacentElement 4049309.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • insertBefore

  • appendChild

  • prepend

  • insertAdjacentElement