Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Windows
Desktop
one year ago
Test name Executions per second
insertBefore 1931495.5 Ops/sec
appendChild 1973820.5 Ops/sec
prepend 1629658.4 Ops/sec
insertAdjacentElement 1850460.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • insertBefore

  • appendChild

  • prepend

  • insertAdjacentElement