Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
ramda, lodash and ecmaS
check this out
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/134.0.0.0 Safari/537.36
Browser:
Chrome 134
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
EcmaS
5.0M/s
Ramda
3.3M/s
lodash
345K/s
View exact numbers
Test name
Executions per second
✓
EcmaS
4,957,406 Ops/sec
Ramda
3,288,869 Ops/sec
lodash
344,674 Ops/sec
HTML Preparation code:
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.27.0/ramda.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.fp.js"></script>
Script Preparation code:
var numbers = Array(100).fill().map((item, index) => index + 1); var isEven = number => number % 2 === 0;
Tests:
Ramda
R.pipe(R.filter(isEven), R.map(x => x + 1))(numbers);
lodash
_.flow(_.filter(isEven),_.map(x => x + 1))(numbers);
EcmaS
numbers.filter(isEven).map(isEven);