Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
10 months ago
Test name Executions per second
Lodash 1306.8 Ops/sec
Ramda without relying on currying or composition 1800.4 Ops/sec
Ramda with currying and composition 1738.3 Ops/sec
VanillaJS functional style 5630.8 Ops/sec
VanillaJS procedural 1026.0 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