Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Windows
Desktop
one year ago
my pluck function without skipNone
118K/s
native JS map
92K/s
lodash _.map
71K/s
my pluck function with skipNone
47K/s
native JS map and filter
24K/s
lodash _.map and iteratee
23K/s
View exact numbers
Test name Executions per second
my pluck function without skipNone 118,237 Ops/sec
native JS map 91,963 Ops/sec
lodash _.map 71,074 Ops/sec
my pluck function with skipNone 46,870 Ops/sec
native JS map and filter 24,038 Ops/sec
lodash _.map and iteratee 22,844 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: