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
4 months ago
Test name Executions per second
insertBefore 2205948.8 Ops/sec
appendChild 2309673.8 Ops/sec
prepend 1865905.8 Ops/sec
insertAdjacentElement 2039280.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • insertBefore

  • appendChild

  • prepend

  • insertAdjacentElement