Test case name | Result |
---|---|
lodash/keyBy | |
keyBy with native reduce | |
keyBy with forEach | |
keyBy with for loop |
Test name | Executions per second |
---|---|
lodash/keyBy | 6575617.0 Ops/sec |
keyBy with native reduce | 4841219.0 Ops/sec |
keyBy with forEach | 4386939.0 Ops/sec |
keyBy with for loop | 8207665.0 Ops/sec |