Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
Array.prototype.concat
249K/s
Spread operator
115K/s

Fastest: Array.prototype.concat (2.2x faster)

View exact numbers
  • Array.prototype.concat: 248,740 ops/sec
  • Spread operator: 115,261 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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Linux
View result in a separate tab
Array.prototype.concat
319K/s
Spread operator
178K/s
View exact numbers
Test name Executions per second
Array.prototype.concat 319,415 Ops/sec
Spread operator 178,494 Ops/sec