Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Array.prototype.concat 5577.1 Ops/sec
spread operator 3334.4 Ops/sec
Push Spread 18581.5 Ops/sec
Push Apply 19248.6 Ops/sec
Push Loop 12875.4 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • Push Spread

  • Push Apply

  • Push Loop