Test case name | Result |
---|---|
lodash/keyBy | |
keyBy with native reduce | |
keyBy with forEach | |
keyBy with for loop |
Test name | Executions per second |
---|---|
lodash/keyBy | 424887.5 Ops/sec |
keyBy with native reduce | 437882.2 Ops/sec |
keyBy with forEach | 304627.8 Ops/sec |
keyBy with for loop | 507961.6 Ops/sec |