Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Compare Spread and Concat Ops
(version: 0)
Comparing performance of:
concat vs spread vs Array Push
Created:
6 years ago
by:
Guest
Jump to the latest result
Tests:
concat
var params = [ "hello" ]; var other = [].concat(params);
spread
var params = [ "hello" ] var other = [...params]
Array Push
var params = [ "hello" ] var other = [] Array.prototype.push.apply(other, params)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
concat
spread
Array Push
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 concat vs spread operator vs push v2
Array concat vs spread operator vs push #3
concat vs push vs spread performance
Array concat vs spread operator vs push performance
Array concat vs spread operator vs push larger list
Comments
Confirm delete:
Do you really want to delete benchmark?