Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
native reverse findLastIndex vs lodash _.findLastIndex
(version: 1)
Compare lodash findLastIndex with native findLastIndex
Comparing performance of:
array find vs _.findLastIndex
Created:
one year 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 src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
var users = [ { 'user': 'joey', 'age': 32 }, { 'user': 'ross', 'age': 41 }, { 'user': 'chandler', 'age': 39 } ]
Tests:
array find
// Native users.findLastIndex(function (o) { return o.age === 41; })
_.findLastIndex
_.findLastIndex(users, function (o) { return o.age === 41; })
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
array find
_.findLastIndex
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Browser/OS:
Chrome 129 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
array find
17746422.0 Ops/sec
_.findLastIndex
23065864.0 Ops/sec
Related benchmarks:
native find vs lodash _.find vs ramda
letsfindout
native reverse find vs lodash _.findLast
Ramda vs Lodash vs Native findIndex
native reverse findIndex vs lodash _.findLastIndex
Underscore equal vs Lodash equal vs === (version: 1)
reverse vs lodash vs native
native findLastIndex vs lodash _.findLastIndex
native reverse find vs findLast
Comments
Confirm delete:
Do you really want to delete benchmark?