Run details:
Mozilla/5.0 (Linux; U; Android 11; pl-pl; POCO X3 NFC Build/RKQ1.200826.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.11.1-gn
Chrome Mobile 89
Android
Mobile
2 years ago
Test name Executions per second
Lodash 232.2 Ops/sec
Ramda without relying on currying or composition 352.8 Ops/sec
Ramda with currying and composition 348.4 Ops/sec
VanillaJS functional style 878.9 Ops/sec
VanillaJS procedural 199.5 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