Test case name | Result |
---|---|
Lodash with _.mapValues and _.omit | |
Native reduce Grouping with Destructuring | |
Custom reduce with Object.keys Filtering | |
Lodash Grouping with Native Key Removal |
Test name | Executions per second |
---|---|
Lodash with _.mapValues and _.omit | 2.8 Ops/sec |
Native reduce Grouping with Destructuring | 14.5 Ops/sec |
Custom reduce with Object.keys Filtering | 8.4 Ops/sec |
Lodash Grouping with Native Key Removal | 44.2 Ops/sec |