Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
Firefox 76
Linux
Desktop
4 years ago
Test name Executions per second
Array.prototype.reduce() 4353256.5 Ops/sec
_.reduce() 3632597.5 Ops/sec
_.reduce() with _.get() 1495639.0 Ops/sec
_.keyBy() 1502342.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.reduce()

  • _.reduce()

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

  • _.keyBy()


;