Lodash vs Ramda without relying on currying or composition vs Ramda with currying and composition vs VanillaJS functional style vs VanillaJS proceduralFastest: VanillaJS functional style (5.2x faster)
3,566 ops/sec
1,284 ops/sec
1,225 ops/sec
933 ops/sec
691 ops/sec
Fastest: VanillaJS procedural (16.2x faster)
6,671 ops/sec
2,911 ops/sec
994 ops/sec
628 ops/sec
412 ops/sec
Fastest: VanillaJS functional style (6.2x faster)
1,103 ops/sec
381 ops/sec
346 ops/sec
199 ops/sec
178 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Lodash | |
| Ramda without relying on currying or composition | |
| Ramda with currying and composition | |
| VanillaJS functional style | |
| VanillaJS procedural |
| Test name | Executions per second |
|---|---|
| ✓ VanillaJS procedural | 9,004 Ops/sec |
| VanillaJS functional style | 3,837 Ops/sec |
| Lodash | 2,536 Ops/sec |
| Ramda without relying on currying or composition | 1,555 Ops/sec |
| Ramda with currying and composition | 1,505 Ops/sec |