Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
lodash flow vs ramdajs pipe
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/129.0.0.0 Safari/537.36
Browser:
Chrome 129
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Ramda PIPE
915134.8 Ops/sec
Lodash flow
313618.7 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 PIPE
R.pipe(R.filter(isEven), R.map(x => x + 1))(numbers);
Lodash flow
_.flow(_.filter(isEven),_.map(x => x + 1))(numbers);