Script Preparation code:
Tests:

Historical Performance Data aggregated from 10 community runs

Desktop Results:
Chrome 10 runs
spread operator
30.1M/s
Array.prototype.concat
12.7M/s

Fastest: spread operator (2.4x faster)

View exact numbers
  • spread operator: 30,083,042 ops/sec
  • Array.prototype.concat: 12,735,915 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: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
Chrome 141 on Mac OS X 10.15.7
View result in a separate tab
spread operator
42.0M/s
Array.prototype.concat
25.1M/s
View exact numbers
Test name Executions per second
spread operator 42,029,056 Ops/sec
Array.prototype.concat 25,058,402 Ops/sec