Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Concat lodash uniq vs set
(version: 0)
Comparing performance of:
Set vs Array
Created:
2 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>
Tests:
Set
var l = new Set([1, 2, 3, 4, 5, 6, 7, 7, 27, 37, 7, 7, 7, 7, 7, 17, 6, 3, 8, 9, 23].concat([[1, 2, 3, 4, 5, 6, 7, 7, 27, 47, 7, 71, 7, 7, 74, 17, 6, 3, 8, 9, 23]])); return l;
Array
var l = [1, 2, 3, 4, 5, 6, 7, 7, 27, 37, 7, 7, 7, 7, 7, 17, 6, 3, 8, 9, 23].concat([[1, 2, 3, 4, 5, 6, 7, 7, 27, 47, 7, 71, 7, 7, 74, 17, 6, 3, 8, 9, 23]]); return _.uniq(l);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Set
Array
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!
Comments
Confirm delete:
Do you really want to delete benchmark?