Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0
Firefox 99
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
lodash/keyBy 6121.9 Ops/sec
keyBy with native reduce 6156.9 Ops/sec
keyBy using native reduce and spread operator 9.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash/keyBy

  • keyBy with native reduce

  • keyBy using native reduce and spread operator