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
7K/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
875/s
Ramda with currying and composition
845/s
Ramda with transducers
759/s
View exact numbers
Test name Executions per second
VanillaJS procedural 6,540 Ops/sec
VanillaJS functional style (performance optimized with spread) 6,354 Ops/sec
Lodash functional style (performance optimized with spread) 5,229 Ops/sec
Lodash funcional style (idiomatic) 2,911 Ops/sec
VanillaJS funcional style (idiomatic) 2,686 Ops/sec
Ramda without relying on currying or composition 875 Ops/sec
Ramda with currying and composition 845 Ops/sec
Ramda with transducers 759 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: