Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Mac OS X 10.16
Desktop
4 years ago
Test name Executions per second
Lodash 499.7 Ops/sec
Ramda without relying on currying or composition 404.4 Ops/sec
Ramda with currying and composition 215.8 Ops/sec
VanillaJS functional style 1379.2 Ops/sec
VanillaJS procedural 3249.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