Run details:
Mozilla/5.0 (Linux; Android 10; SAMSUNG SM-N960N) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/23.0 Chrome/115.0.0.0 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
2 years ago
VanillaJS functional style
1K/s
Ramda without relying on currying or composition
381/s
Ramda with currying and composition
346/s
VanillaJS procedural
177/s
Lodash
125/s
View exact numbers
Test name Executions per second
VanillaJS functional style 1,181 Ops/sec
Ramda without relying on currying or composition 381 Ops/sec
Ramda with currying and composition 346 Ops/sec
VanillaJS procedural 177 Ops/sec
Lodash 125 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: