Tests:

Historical Performance Data aggregated from 70 community runs

Desktop Results:
Chrome 55 runs
spread operator
56.6M/s
Array.prototype.concat
16.0M/s
Array.prototype.flat
7.5M/s

Fastest: spread operator (7.5x faster)

View exact numbers
  • spread operator: 56,612,732 ops/sec
  • Array.prototype.concat: 15,991,792 ops/sec
  • Array.prototype.flat: 7,539,446 ops/sec
Firefox 9 runs
spread operator
23.6M/s
Array.prototype.concat
23.5M/s
Array.prototype.flat
17.9M/s

Fastest: spread operator (1.3x faster)

View exact numbers
  • spread operator: 23,603,946 ops/sec
  • Array.prototype.concat: 23,528,842 ops/sec
  • Array.prototype.flat: 17,909,150 ops/sec
Mobile Results:
Chrome 6 runs
spread operator
27.6M/s
Array.prototype.concat
5.8M/s
Array.prototype.flat
2.6M/s

Fastest: spread operator (10.8x faster)

View exact numbers
  • spread operator: 27,564,902 ops/sec
  • Array.prototype.concat: 5,832,357 ops/sec
  • Array.prototype.flat: 2,563,411 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
    Array.prototype.flat

    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/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
spread operator
56.1M/s
Array.prototype.concat
16.9M/s
Array.prototype.flat
8.3M/s
View exact numbers
Test name Executions per second
spread operator 56,119,664 Ops/sec
Array.prototype.concat 16,904,514 Ops/sec
Array.prototype.flat 8,331,996 Ops/sec