Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Lodash.get vs Property dot notation2
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/141.0.0.0 Safari/537.36
Browser:
Chrome 141
Operating system:
Windows
Device Platform:
Desktop
Date tested:
11 months ago
Benchmark engine:
Benchmark.js
Native
190.8M/s
Lodash get
13.6M/s
View exact numbers
Test name
Executions per second
✓
Native
190,763,792 Ops/sec
Lodash get
13,612,234 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/lodash/4.16.0/lodash.min.js"></script>
Script Preparation code:
var person = {man: {name: 'Frederick', lastName: 'Corcino Alejo', friend: { name: "test", friend: { name: "another1" } } }};
Tests:
Lodash get
_.get(person, 'man.friend.friend.name');
Native
person.man.friend.friend.name