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
336K/s
lodash _.map
192K/s
native JS map
173K/s
my pluck function with skipNone
159K/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 336,110 Ops/sec
lodash _.map 192,012 Ops/sec
native JS map 172,821 Ops/sec
my pluck function with skipNone 159,371 Ops/sec
lodash _.map and iteratee 3,206 Ops/sec
native JS map and filter 2,784 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: