lodash wrapper (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/0.10.0/lodash.min.js"></script>

Setup

let arr = [];
for(let i = 0; i < 100_000; i++) {
	arr.push([i, i])
}
const obj = Object.fromEntries(arr);

Test runner

Ready to run.

Testing in
TestOps/sec
Values
Object.values(obj).find(d => d === 99_999);
ready
Lodash
_.find(obj, 99_999)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.