Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
one year ago
my pluck function without skipNone
333K/s
lodash _.map
190K/s
native JS map
173K/s
my pluck function with skipNone
161K/s
lodash _.map and iteratee
3K/s
native JS map and filter
3K/s
View exact numbers
Test name Executions per second
my pluck function without skipNone 332,629 Ops/sec
lodash _.map 190,004 Ops/sec
native JS map 173,225 Ops/sec
my pluck function with skipNone 161,136 Ops/sec
lodash _.map and iteratee 3,217 Ops/sec
native JS map and filter 3,192 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: