Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
aadasdsa
(version: 0)
a
Comparing performance of:
native find vs lodash
Created:
5 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.core.js"></script>
Script Preparation code:
var users = [...Array(1000).keys()].map(e => ({ 'user': 'joey', 'age': e }));
Tests:
native find
users.find(function (o) { return o.age === 500; })
lodash
_.find(users, function (o) { return o.age === 500; })
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
native find
lodash
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Map lodash and PureJS
_.map vs array.map
_.map vs. array.map for object
A native map vs lodash _.map
Comments
Confirm delete:
Do you really want to delete benchmark?