Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
spread vs structured
(version: 1)
Comparing performance of:
spread vs structured
Created:
8 months ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
var arr = new Array(100000000).fill(0);
Tests:
spread
[...arr]
structured
structuredClone(arr)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
spread
structured
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
8 months ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.0
Browser/OS:
Firefox 142 on Mac OS X 10.15
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
spread
2.5 Ops/sec
structured
0.2 Ops/sec
Related benchmarks:
Push vs. Spread
Spread Vs Unshift into new array
return vs spread
JS Array.from vs Spread [...]
Array.from vs Spread on arrays
unshift vs spread
spread vs unshift
spread vs push asfhjasdkflahsdf
spread vs push asfhjasdkflahsdadfasdf
Comments
Confirm delete:
Do you really want to delete benchmark?