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)
2K/s
Ramda without relying on currying or composition
903/s
Ramda with currying and composition
857/s
Ramda with transducers
755/s
View exact numbers
Test name Executions per second
VanillaJS procedural 6,291 Ops/sec
VanillaJS functional style (performance optimized with spread) 6,257 Ops/sec
Lodash functional style (performance optimized with spread) 5,409 Ops/sec
Lodash funcional style (idiomatic) 2,936 Ops/sec
VanillaJS funcional style (idiomatic) 2,400 Ops/sec
Ramda without relying on currying or composition 903 Ops/sec
Ramda with currying and composition 857 Ops/sec
Ramda with transducers 755 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: