Tests:

Historical Performance Data aggregated from 956 community runs

Desktop Results:
Chrome 726 runs
Push
60.6M/s
spread operator
55.0M/s
Array.prototype.concat
14.6M/s

Fastest: Push (4.1x faster)

View exact numbers
  • Push: 60,612,160 ops/sec
  • spread operator: 55,029,212 ops/sec
  • Array.prototype.concat: 14,640,609 ops/sec
Firefox 139 runs
Push
32.7M/s
spread operator
25.4M/s
Array.prototype.concat
23.2M/s

Fastest: Push (1.4x faster)

View exact numbers
  • Push: 32,728,982 ops/sec
  • spread operator: 25,361,522 ops/sec
  • Array.prototype.concat: 23,217,342 ops/sec
Safari 24 runs
spread operator
497.2M/s
Array.prototype.concat
45.5M/s
Push
16.3M/s

Fastest: spread operator (30.6x faster)

View exact numbers
  • spread operator: 497,237,760 ops/sec
  • Array.prototype.concat: 45,534,408 ops/sec
  • Push: 16,261,352 ops/sec
Other 11 runs
Push
31.7M/s
spread operator
30.5M/s
Array.prototype.concat
7.4M/s

Fastest: Push (4.3x faster)

View exact numbers
  • Push: 31,749,528 ops/sec
  • spread operator: 30,531,756 ops/sec
  • Array.prototype.concat: 7,367,906 ops/sec
Mobile Results:
Chrome 37 runs
spread operator
24.0M/s
Push
19.1M/s
Array.prototype.concat
6.3M/s

Fastest: spread operator (3.8x faster)

View exact numbers
  • spread operator: 24,047,476 ops/sec
  • Push: 19,050,474 ops/sec
  • Array.prototype.concat: 6,289,086 ops/sec
Safari 19 runs
spread operator
420.1M/s
Array.prototype.concat
38.1M/s
Push
13.7M/s

Fastest: spread operator (30.7x faster)

View exact numbers
  • spread operator: 420,119,520 ops/sec
  • Array.prototype.concat: 38,096,616 ops/sec
  • Push: 13,699,221 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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Linux; Android 12; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.196 Mobile Safari/537.36
Chrome Mobile 114 on Android
View result in a separate tab
Push
25.2M/s
spread operator
20.5M/s
Array.prototype.concat
6.3M/s
View exact numbers
Test name Executions per second
Push 25,213,782 Ops/sec
spread operator 20,521,524 Ops/sec
Array.prototype.concat 6,289,086 Ops/sec