HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash with _.mapValues and _.omit

  • Native reduce Grouping with Destructuring

  • Custom reduce with Object.keys Filtering

  • Lodash Grouping with Native Key Removal

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: 18 days 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
Test name Executions per second
Lodash with _.mapValues and _.omit 2.8 Ops/sec
Native reduce Grouping with Destructuring 14.5 Ops/sec
Custom reduce with Object.keys Filtering 8.4 Ops/sec
Lodash Grouping with Native Key Removal 44.2 Ops/sec


;