Ramda (/w transducer) vs. Lodash v2

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 months ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Test name Executions per second
Lodash 517255.8 Ops/sec
Ramda with transducer 83.4 Ops/sec
Ramda with currying and composition 72.4 Ops/sec
Ramda without relying on currying or composition 74.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash

  • Ramda with transducer

  • Ramda with currying and composition

  • Ramda without relying on currying or composition

Open this result on MeasureThat.net