HTML Preparation code:
Script Preparation code:
Tests:
  • lodash/keyBy

  • keyBy with native reduce

  • keyBy with forEach

  • keyBy with for loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lodash/keyBy
    keyBy with native reduce
    keyBy with forEach
    keyBy with for loop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 16 days ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
Chrome Mobile 131 on Android
View result in a separate tab
Test name Executions per second
lodash/keyBy 6573699.0 Ops/sec
keyBy with native reduce 7452391.0 Ops/sec
keyBy with forEach 4580545.5 Ops/sec
keyBy with for loop 8715057.0 Ops/sec