Ramda vs. Lodash 3

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.
5 years ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
Test name Executions per second
Lodash 1588.1 Ops/sec
Ramda without relying on currying or composition 696.8 Ops/sec
Ramda with currying and composition 414.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash

  • Ramda without relying on currying or composition

  • Ramda with currying and composition

Open this result on MeasureThat.net