tusharmath / observable-air

Observable for the calorie conscious
MIT License
34 stars 3 forks source link

feat(extra): export curry and compose #146

Closed tusharmath closed 7 years ago

tusharmath commented 7 years ago

fixes #144

tusharmath commented 7 years ago

observable-air@ benchmark /home/travis/build/tusharmath/observable-air tsc && node ./.dist/benchmarks/run

Node: v7.5.0 V8: 5.4.500.48

┌──────────────────────────────────────┬────────────────┬─────────┐
│ name                                 │ ops/sec        │ samples │
├──────────────────────────────────────┼────────────────┼─────────┤
│ create                               │ 1,017 (±0.35%) │ 86      │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> debounce                     │ 772 (±4.26%)   │ 60      │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> map -> reduce                │ 184 (±0.25%)   │ 83      │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> scan -> reduce               │ 51 (±0.57%)    │ 78      │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> takeN(0, n/10)               │ 525 (±0.19%)   │ 87      │
├──────────────────────────────────────┼────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest │ 5,061 (±5.95%) │ 63      │
├──────────────────────────────────────┼────────────────┼─────────┤
│ tryCatch                             │ 1,784 (±1.56%) │ 87      │
└──────────────────────────────────────┴────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.1%) to 89.065% when pulling 8165cdd4ae8bc01182d69ae2ce1cf5370a8299b0 on export-utils into babffc4e7a4e926a1c264d4c805402d6a258498f on master.