Open
Description
I only updated remeda, but you can see just updating it makes it narrowly win a few benchmarks.
Node.js v18.19.0
• ./simple/fromPairs.js:
• fromPairs (single function call)......
✔ @mobily/ts-belt 18,958,986.03 ops/sec ±0.54% (95 runs) -5.48%
✔ remeda 20,058,027.83 ops/sec ±1.00% (96 runs) fastest
✔ ramda 9,246,913.70 ops/sec ±0.78% (91 runs) -53.90%
✔ rambda 16,097,820.06 ops/sec ±0.78% (92 runs) -19.74%
✔ lodash/fp 14,481,211.07 ops/sec ±0.54% (97 runs) -27.80%
✔ native 3,107,481.86 ops/sec ±0.42% (98 runs) -84.51%
• toPairs (single function call)......
✔ @mobily/ts-belt 45,096,919.34 ops/sec ±0.39% (97 runs) -11.13%
✔ remeda 50,747,250.13 ops/sec ±0.30% (99 runs) fastest
✔ ramda 12,225,290.06 ops/sec ±2.23% (97 runs) -75.91%
✔ rambda 43,339,769.15 ops/sec ±2.14% (92 runs) -14.60%
✔ lodash/fp 13,001,229.55 ops/sec ±2.28% (92 runs) -74.38%
✔ native 50,285,859.52 ops/sec ±0.49% (94 runs) -0.91%
➔ Fastest is remeda
Considering all package versions are from 2021, 3-3.5 years later I think we should be fairer in benchmarking with latest versions.
Metadata
Assignees
Labels
No labels