Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
ramda-path-vs-lodash-get
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 14; Mobile; rv:126.0) Gecko/126.0 Firefox/126.0
Browser:
Firefox Mobile 126
Operating system:
Android
Device Platform:
Mobile
Date tested:
2 years ago
Benchmark engine:
Benchmark.js
ramda path
5.6M/s
lodash get
2.4M/s
View exact numbers
Test name
Executions per second
✓
ramda path
5,632,394 Ops/sec
lodash get
2,394,884 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.15/get.min.js"></script> <script src="//cdn.jsdelivr.net/npm/ramda@latest/dist/ramda.min.js"></script>
Script Preparation code:
var obj = {foo: {bar: {tar: [1,2,3]}}};
Tests:
ramda path
R.path(['foo', 'bar', 'tar', 2], obj)
lodash get
_.get(obj, 'foo.bar.tar.2')