Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Map (Native vs Ramda vs Lodash) 4x workload
(version: 0)
measures the speed of ramda's map vs Array's native map vs lodash map
Comparing performance of:
Ramda vs Array (native) vs Lodash
Created:
5 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.25.0/ramda.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js"></script>
Script Preparation code:
function double(n) { return n*2; } var data = [...Array(20)].map((v, idx) => idx);
Tests:
Ramda
R.compose(R.map(double), R.map(double), R.map(double), R.map(double))(data);
Array (native)
data.map(double).map(double).map(double).map(double);
Lodash
_(data).chain(_.map(double),_.map(double),_.map(double),_.map(double)).value();
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
Ramda
Array (native)
Lodash
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:
Map (Native vs Rambda vs Lodash)
Map (Native vs Ramda vs Lodash) vs for
Map (Native vs Ramda vs Lodash) latest 2021-01-18
Map (Native vs Ramda vs Lodash) v2
Map (Native vs Ramda 0.27.2 vs Lodash 4.17.21) 50k
Comments
Confirm delete:
Do you really want to delete benchmark?