Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Windows
Desktop
one year ago
Test name Executions per second
insertBefore 5207942.0 Ops/sec
appendChild 5259884.5 Ops/sec
prepend 4504318.0 Ops/sec
insertAdjacentElement 4669678.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • insertBefore

  • appendChild

  • prepend

  • insertAdjacentElement