Tests:

Historical Performance Data aggregated from 25 community runs

Desktop Results:
Chrome 17 runs
Push
66.6M/s
Array.prototype.concat
15.8M/s
push + flat
8.8M/s

Fastest: Push (7.6x faster)

View exact numbers
  • Push: 66,625,172 ops/sec
  • Array.prototype.concat: 15,844,823 ops/sec
  • push + flat: 8,772,508 ops/sec
Firefox 8 runs
Push
21.5M/s
Array.prototype.concat
16.8M/s
push + flat
13.0M/s

Fastest: Push (1.6x faster)

View exact numbers
  • Push: 21,457,228 ops/sec
  • Array.prototype.concat: 16,838,382 ops/sec
  • push + flat: 13,016,457 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
    push + flat
    Push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138 on Windows
View result in a separate tab
Push
62.7M/s
Array.prototype.concat
11.2M/s
push + flat
6.1M/s
View exact numbers
Test name Executions per second
Push 62,650,880 Ops/sec
Array.prototype.concat 11,152,360 Ops/sec
push + flat 6,111,082 Ops/sec