Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
flat vs concat.apply vs spread
(version: 0)
Comparing performance of:
spread syntax vs concat apply vs flat
Created:
4 years ago
by:
Guest
Jump to the latest result
Tests:
spread syntax
[].concat(...[[1,2,3], [4,5,6]])
concat apply
[].concat.apply([], [[1,2,3], [4,5,6]])
flat
[[1,2,3], [4,5,6]].flat()
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
spread syntax
concat apply
flat
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Array.prototype.concat vs Spread operator
Array.prototype.concat vs Spread operator
flat vs concat test
Object set vs new spread when reducing over results
Array.prototype.concat vs spread operator 12
Comments
Confirm delete:
Do you really want to delete benchmark?