HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash map then max

  • Lodash map/max fusion

  • Lodash sort then last

  • Lodash map/max fusion with closure

  • Lodash maxBy

  • Lodash map then max with closure

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash map then max
    Lodash map/max fusion
    Lodash sort then last
    Lodash map/max fusion with closure
    Lodash maxBy
    Lodash map then max with closure

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
Chrome 83 on Mac OS X 10.14.6
View result in a separate tab
Test name Executions per second
Lodash map then max 105.2 Ops/sec
Lodash map/max fusion 104.4 Ops/sec
Lodash sort then last 5.3 Ops/sec
Lodash map/max fusion with closure 44.0 Ops/sec
Lodash maxBy 71.2 Ops/sec
Lodash map then max with closure 35.4 Ops/sec