Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36 EdgA/121.0.0.0
Chrome Mobile 121
Android
Mobile
9 months ago
Test name Executions per second
Lodash 199.1 Ops/sec
Ramda without relying on currying or composition 335.7 Ops/sec
Ramda with currying and composition 318.3 Ops/sec
VanillaJS functional style 1000.8 Ops/sec
VanillaJS procedural 177.9 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