Array.prototype.concat vs spread operator vs PushFastest: Array.prototype.concat (5.5x faster)
169,309 ops/sec
49,906 ops/sec
30,861 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Array.prototype.concat | |
| spread operator | |
| Push |
| Test name | Executions per second |
|---|---|
| ✓ Array.prototype.concat | 749,581 Ops/sec |
| spread operator | 15,126 Ops/sec |
| Push | 4,078 Ops/sec |