Test case name | Result |
---|---|
my pluck function with skipNone | |
native JS map and filter | |
lodash _.map and iteratee | |
my pluck function without skipNone | |
native JS map | |
lodash _.map |
Test name | Executions per second |
---|---|
my pluck function with skipNone | 159370.6 Ops/sec |
native JS map and filter | 2784.4 Ops/sec |
lodash _.map and iteratee | 3206.2 Ops/sec |
my pluck function without skipNone | 336109.6 Ops/sec |
native JS map | 172820.9 Ops/sec |
lodash _.map | 192012.2 Ops/sec |