Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Ubuntu
Desktop
2 years ago
Test name Executions per second
Array.prototype.concat 2028059.0 Ops/sec
spread operator 1985178.0 Ops/sec
Push Spread 1478318.0 Ops/sec
Push Apply 2010387.0 Ops/sec
Push Loop 4887931.0 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • Push Spread

  • Push Apply

  • Push Loop