Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132
Windows
Desktop
one year ago
VanillaJS procedural
6K/s
VanillaJS functional style (performance optimized with spread)
6K/s
Lodash functional style (performance optimized with spread)
5K/s
Lodash funcional style (idiomatic)
3K/s
VanillaJS funcional style (idiomatic)
3K/s
Ramda without relying on currying or composition
881/s
Ramda with currying and composition
865/s
Ramda with transducers
759/s
View exact numbers
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
HTML Preparation code:
Script Preparation code:
Tests: