Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Linux
Desktop
one year ago
Test name Executions per second
Array.prototype.reduce() 7203182.0 Ops/sec
_.reduce() 6446460.0 Ops/sec
_.reduce() with _.get() 1924436.8 Ops/sec
_.keyBy() 2812913.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.reduce()

  • _.reduce()

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

  • _.keyBy()


;