Script Preparation code:
Tests:
  • Lodash keyBy (10k entries)

  • JS Map (10k entries)

  • Lodash keyBy (100k entries)

  • JS Map (100k entries)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash keyBy (10k entries)
    JS Map (10k entries)
    Lodash keyBy (100k entries)
    JS Map (100k entries)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
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 on Windows
View result in a separate tab
Test name Executions per second
Lodash keyBy (10k entries) 1323.8 Ops/sec
JS Map (10k entries) 704.3 Ops/sec
Lodash keyBy (100k entries) 71.6 Ops/sec
JS Map (100k entries) 60.5 Ops/sec


;