Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127
Windows
Desktop
6 months ago
Test name Executions per second
Lodash keyBy (10k entries) 496.4 Ops/sec
JS Map (10k entries) 2477.8 Ops/sec
Lodash keyBy (100k entries) 45.9 Ops/sec
JS Map (100k entries) 257.2 Ops/sec
Script Preparation code:
Tests:
  • Lodash keyBy (10k entries)

  • JS Map (10k entries)

  • Lodash keyBy (100k entries)

  • JS Map (100k entries)