Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127
Mac OS X 10.15.7
Desktop
2 months ago
Test name Executions per second
Lodash keyBy (10k entries) 3098.9 Ops/sec
JS Map (10k entries) 438.7 Ops/sec
Lodash keyBy (100k entries) 155.6 Ops/sec
JS Map (100k entries) 37.5 Ops/sec
Script Preparation code:
Tests:
  • Lodash keyBy (10k entries)

  • JS Map (10k entries)

  • Lodash keyBy (100k entries)

  • JS Map (100k entries)