Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Lodash FP vs. Ramda 10,000
(version: 0)
Comparing performance of:
Ramda.filter vs Lodash.filter vs Ramda.map vs Lodash.map vs Ramda.sortBy vs Lodash.sortBy
Created:
6 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/ramda@0.26.1/dist/ramda.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/lodash@4.17.11/lodash.fp.min.js"></script>
Script Preparation code:
var array = Array(10000).fill().map(Math.random);
Tests:
Ramda.filter
R.filter(Math.round, array);
Lodash.filter
_.filter(Math.round, array);
Ramda.map
R.map(Math.round, array);
Lodash.map
_.map(Math.round, array);
Ramda.sortBy
R.sortBy(val => val, array);
Lodash.sortBy
_.sortBy(val => val, array);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (6)
Previous results
Fork
Test case name
Result
Ramda.filter
Lodash.filter
Ramda.map
Lodash.map
Ramda.sortBy
Lodash.sortBy
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:
flatten : Array.flat() vs Ramda
Map (Native vs Ramda vs Lodash) latest 2021-01-18
Map (Native vs Ramda 0.27.2 vs Lodash 4.17.21) 50k
Array.prototype.every vs Lodash every()
Comments
Confirm delete:
Do you really want to delete benchmark?