Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Immutable reverse
(version: 0)
Comparing performance of:
concat vs slice
Created:
7 years ago
by:
Guest
Jump to the latest result
Tests:
concat
var arr = Array(100).fill(0).map((_,i)=>i+1); arr.concat().reverse();
slice
var arr = Array(100).fill(0).map((_,i)=>i+1); arr.slice().reverse();
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
concat
slice
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:
Immutable vs Versioned - Equality Check Performance
Immutable Map vs Ordered Map vs List
Spread operator vs Immutable.js performance for common use cases
Immutable.Set Union vs Constructing a new plain JS Set
Immutable.Set Union vs Constructing a new plain JS Set - small
Comments
Confirm delete:
Do you really want to delete benchmark?