Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Lodash vs Plain JS - findLastIndex
(version: 1)
Comparing performance of:
lodash vs Plain JS
Created:
one year ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/g/lodash@4(lodash.min.js+lodash.fp.min.js)"></script>
Script Preparation code:
const users = [ { user: 'barney', active: true }, { user: 'fred', active: false }, { user: 'pebbles', active: false }, ]
Tests:
lodash
_.findLastIndex(users, o => !o.active)
Plain JS
users.findLastIndex(o => !o.active)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
lodash
Plain JS
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
4 months ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0
Browser/OS:
Firefox 145 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
lodash
658965.2 Ops/sec
Plain JS
105410248.0 Ops/sec
Related benchmarks:
Lodash isEqual test for strings
lodash pick vs omit
lodash isEmpty vs ES6
Ramda vs Lodash vs Native findIndex
lodash pick vs omit vs my stuff
_.some vs deconstruction
function over header
Lodash _,keys() vs Lodash _.keysIn()
native findLastIndex vs lodash _.findLastIndex
Comments
Confirm delete:
Do you really want to delete benchmark?