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
Jump 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
Test name
Executions per second
Lodash get
8007467.0 Ops/sec
Native
226654048.0 Ops/sec
Related benchmarks:
Lodash.get vs Property dot notation
Lodash.get vs Lodash.property
Lodash.get with instance default
Lodash.get with an instance default
Lodash.get vs Property dot notation bmt
Lodash.get vs Property dot notation @movlan
Lodash.get vs native with optional chaining
Lodash isEqual vs native JS === for strings
Lodash.get vs Property dot notation with ?
Comments
Confirm delete:
Do you really want to delete benchmark?