Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Mac OS X 10.15.7
Desktop
19 days ago
Test name Executions per second
Lodash keyBy (10k entries) 2318.3 Ops/sec
JS Map (10k entries) 388.5 Ops/sec
Lodash keyBy (100k entries) 119.8 Ops/sec
JS Map (100k entries) 35.8 Ops/sec
Script Preparation code:
Tests:
  • Lodash keyBy (10k entries)

  • JS Map (10k entries)

  • Lodash keyBy (100k entries)

  • JS Map (100k entries)