Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
Lodash 868.5 Ops/sec
Ramda without relying on currying or composition 646.7 Ops/sec
Ramda with currying and composition 354.7 Ops/sec
VanillaJS functional style 2405.5 Ops/sec
VanillaJS procedural 4325.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