HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.reduce()

  • _.reduce()

  • _.reduce() with _.get()

  • _.keyBy()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.reduce()
    _.reduce()
    _.reduce() with _.get()
    _.keyBy()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2025 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Chrome 64 on Mac OS X 10.13.3
View result in a separate tab
Test name Executions per second
Array.prototype.reduce() 1020379.5 Ops/sec
_.reduce() 823283.4 Ops/sec
_.reduce() with _.get() 368213.0 Ops/sec
_.keyBy() 435519.1 Ops/sec