Array.prototype.concat vs Lodash concat vs DestructureFastest: Destructure (5.4x faster)
40,135,564 ops/sec
15,335,988 ops/sec
7,426,239 ops/sec
Fastest: Array.prototype.concat (2.8x faster)
21,608,032 ops/sec
16,098,504 ops/sec
7,613,379 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 | |
| Lodash concat | |
| Destructure |
| Test name | Executions per second |
|---|---|
| ✓ Array.prototype.concat | 43,304,500 Ops/sec |
| Destructure | 30,655,782 Ops/sec |
| Lodash concat | 20,112,144 Ops/sec |