Test case name | Result |
---|---|
Javascript Array.reduce/Array.indexOf | |
Lodash Uniq | |
function unique(arr) |
Test name | Executions per second |
---|---|
Javascript Array.reduce/Array.indexOf | 91058.1 Ops/sec |
Lodash Uniq | 262464.8 Ops/sec |
function unique(arr) | 340386.9 Ops/sec |