Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
lodash vs native 1402d89a
(version: 1)
Comparing performance of:
native vs lodash
Created:
11 months ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js'></script>
Script Preparation code:
var arr = []; for (i = 0; i < 10000; i++) { arr.push(i, i); }
Tests:
native
return [...new Set(arr)];
lodash
return _.uniq(arr);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
native
lodash
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
11 months ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Browser/OS:
Chrome 137 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
native
4049.1 Ops/sec
lodash
3452.6 Ops/sec
Related benchmarks:
For Of (test fork)
Lodash Difference vs Set.delete
Lodash Difference vs Set.delete 2
for loop vs. lodash range foreach2
for loop vs. lodash range foreach22
for loop vs. lodash range foreach222
lodash vs native 2020
test lodash vs native
Lodash.js vs Native 69
Comments
Confirm delete:
Do you really want to delete benchmark?