HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Lodash
59/s
Native
11/s

Fastest: Lodash (5.2x faster)

View exact numbers
  • Lodash: 59 ops/sec
  • Native: 11 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash with _.mapValues and _.omit
    Native reduce Grouping with Destructuring
    Custom reduce with Object.keys Filtering
    Lodash Grouping with Native Key Removal

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Mac OS X 10.15.7
View result in a separate tab
Lodash Grouping with Native Key Removal
44/s
Native reduce Grouping with Destructuring
15/s
Custom reduce with Object.keys Filtering
8/s
Lodash with _.mapValues and _.omit
3/s
View exact numbers
Test name Executions per second
Lodash Grouping with Native Key Removal 44 Ops/sec
Native reduce Grouping with Destructuring 15 Ops/sec
Custom reduce with Object.keys Filtering 8 Ops/sec
Lodash with _.mapValues and _.omit 3 Ops/sec