Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
Push
55.0M/s
spread operator
46.2M/s
Splice
18.3M/s
Array.prototype.concat
11.3M/s

Fastest: Push (4.9x faster)

View exact numbers
  • Push: 55,008,176 ops/sec
  • spread operator: 46,198,312 ops/sec
  • Splice: 18,304,464 ops/sec
  • Array.prototype.concat: 11,319,277 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
    Splice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Chrome 140 on Linux
View result in a separate tab
Push
42.2M/s
spread operator
38.3M/s
Splice
12.1M/s
Array.prototype.concat
9.3M/s
View exact numbers
Test name Executions per second
Push 42,206,416 Ops/sec
spread operator 38,276,240 Ops/sec
Splice 12,092,990 Ops/sec
Array.prototype.concat 9,294,956 Ops/sec