Run details:
Mozilla/5.0 (Linux; Android 11; BE2029) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
Array.prototype.concat 155089.5 Ops/sec
spread operator 214508.0 Ops/sec
Push Spread 262118.9 Ops/sec
Push Apply 256784.4 Ops/sec
Push Loop 262293.3 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • Push Spread

  • Push Apply

  • Push Loop