arrayUnshift123 vs arrayConcat123 vs arraySpread123Fastest: arrayUnshift123 (274.9x faster)
27,071 ops/sec
1,179 ops/sec
98 ops/sec
Fastest: arrayUnshift123 (45959.5x faster)
558,213 ops/sec
52 ops/sec
12 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| arrayUnshift123 | |
| arrayConcat123 | |
| arraySpread123 |
| Test name | Executions per second |
|---|---|
| ✓ arrayUnshift123 | 51,133 Ops/sec |
| arrayConcat123 | 892 Ops/sec |
| arraySpread123 | 137 Ops/sec |