Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Chrome 9 runs
Push
35.6M/s
Array.prototype.concat
5.3M/s
spread operator
3.2M/s

Fastest: Push (11.2x faster)

View exact numbers
  • Push: 35,591,768 ops/sec
  • Array.prototype.concat: 5,316,764 ops/sec
  • spread operator: 3,184,983 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    spread operator
    Push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Mobile Safari/537.36
Chrome Mobile 133 on Android
View result in a separate tab
Push
20.3M/s
Array.prototype.concat
4.2M/s
spread operator
2.6M/s
View exact numbers
Test name Executions per second
Push 20,275,772 Ops/sec
Array.prototype.concat 4,152,718 Ops/sec
spread operator 2,598,968 Ops/sec