Run details:
Mozilla/5.0 (Android 13; Mobile; rv:122.0) Gecko/122.0 Firefox/122.0
Firefox Mobile 122
Android
Mobile
10 months ago
Test name Executions per second
Object.groupBy 66.2 Ops/sec
Array.reduce 420.6 Ops/sec
Lodash groupBy 73.1 Ops/sec
custom groupBy 579.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object.groupBy

  • Array.reduce

  • Lodash groupBy

  • custom groupBy