Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Lodash.get vs Property dot notation cache test
(version: 1)
Comparing performance of:
Lodash get vs Native
Created:
one year ago
by:
Guest
Go to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/lodash/4.16.0/lodash.min.js"></script>
Script Preparation code:
var person = {name: 'Frederick', lastName: 'Corcino Alejo'};
Tests:
Lodash get
_.get(person, 'name'); _.get(person, 'name'); _.get(person, 'name'); _.get(person, 'name'); _.get(person, 'name'); _.get(person, 'name'); _.get(person, 'name'); _.get(person, 'name');
Native
person.name person.name person.name person.name person.name person.name person.name person.name
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Lodash get
Native
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Browser/OS:
Chrome 134 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Native
226.7M/s
Lodash get
8.0M/s
View exact numbers
Test name
Executions per second
✓
Native
226,654,048 Ops/sec
Lodash get
8,007,467 Ops/sec
Related benchmarks
Lodash.get vs Property dot notation
Lodash.get vs Lodash.property
Lodash.get vs Property dot notation with ?
Comments
Confirm delete:
Do you really want to delete benchmark?