Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Pefromance IndexOf
(version: 0)
Lodash IndexOf vs IndexOf proptype
Comparing performance of:
lodash vs native
Created:
6 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdn.jsdelivr.net/npm/lodash@4.17.10/lodash.min.js'></script>
Script Preparation code:
var values = [{a: 30310}, {a: 100303}, {a: 3040494}, {a: 6542321}, {a: 13123531}]; var searchValue = 6542321;
Tests:
lodash
_.findIndex(values, (v) => v.a === searchValue)
native
values.findIndex((v) => v.a === searchValue)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
lodash
native
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:
findIndex performance
IndexOf performance
lodash _.indexOf vs native indexOf with strings
indexOf vs Lodash indexOf
Comments
Confirm delete:
Do you really want to delete benchmark?