Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Windows
Desktop
6 months ago
Test name Executions per second
Lodash keyBy (10k entries) 1541.2 Ops/sec
JS Map (10k entries) 697.9 Ops/sec
Lodash keyBy (100k entries) 86.1 Ops/sec
JS Map (100k entries) 58.8 Ops/sec
Script Preparation code:
Tests:
  • Lodash keyBy (10k entries)

  • JS Map (10k entries)

  • Lodash keyBy (100k entries)

  • JS Map (100k entries)