Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Map (Native vs Ramda 0.27.2 vs Lodash 4.17.21) 50k
measures the speed of ramdajs 0.27.2 map vs Array's native map vs lodash 4.17.21 map
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Browser:
Chrome 145
Operating system:
Windows
Device Platform:
Desktop
Date tested:
5 months ago
Ramda
20K/s
Lodash
18K/s
Array (native)
3K/s
View exact numbers
Test name
Executions per second
✓
Ramda
19,808 Ops/sec
Lodash
17,567 Ops/sec
Array (native)
2,688 Ops/sec
HTML Preparation code:
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.27.2/ramda.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script>
Script Preparation code:
function double(n) { return n * 2; } var data = [...Array(50000)].map((v, idx) => idx);
Tests:
Ramda
R.map(double, data);
Array (native)
data.map(double);
Lodash
_.map(data, double);