Test case name | Result |
---|---|
lodash/keyBy | |
keyBy with native reduce | |
keyBy with forEach | |
keyBy with for loop |
Test name | Executions per second |
---|---|
lodash/keyBy | 6573699.0 Ops/sec |
keyBy with native reduce | 7452391.0 Ops/sec |
keyBy with forEach | 4580545.5 Ops/sec |
keyBy with for loop | 8715057.0 Ops/sec |