Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 2 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36
Chrome Mobile 95
Android
Mobile
3 years ago
Test name Executions per second
Lodash 130.8 Ops/sec
Ramda without relying on currying or composition 223.5 Ops/sec
Ramda with currying and composition 216.7 Ops/sec
VanillaJS functional style 576.5 Ops/sec
VanillaJS procedural 104.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash

  • Ramda without relying on currying or composition

  • Ramda with currying and composition

  • VanillaJS functional style

  • VanillaJS procedural