Lodash funcional style (idiomatic) vs Lodash functional style (performance optimized with spread) vs Ramda without relying on currying or composition vs Ramda with currying and composition vs Ramda with transducers vs VanillaJS funcional style (idiomatic) vs VanillaJS functional style (performance optimized with spread) vs VanillaJS proceduralFastest: VanillaJS procedural (7.7x faster)
6,536 ops/sec
2,909 ops/sec
2,695 ops/sec
881 ops/sec
851 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Lodash funcional style (idiomatic) | |
| Lodash functional style (performance optimized with spread) | |
| Ramda without relying on currying or composition | |
| Ramda with currying and composition | |
| Ramda with transducers | |
| VanillaJS funcional style (idiomatic) | |
| VanillaJS functional style (performance optimized with spread) | |
| VanillaJS procedural |
| Test name | Executions per second |
|---|---|
| ✓ VanillaJS procedural | 6,314 Ops/sec |
| VanillaJS functional style (performance optimized with spread) | 5,908 Ops/sec |
| Lodash functional style (performance optimized with spread) | 5,210 Ops/sec |
| Lodash funcional style (idiomatic) | 2,907 Ops/sec |
| VanillaJS funcional style (idiomatic) | 2,703 Ops/sec |
| Ramda without relying on currying or composition | 881 Ops/sec |
| Ramda with currying and composition | 865 Ops/sec |
| Ramda with transducers | 759 Ops/sec |