tusharmath / observable-air

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

Revert "refactor(core): remove curry" #99

Closed tusharmath closed 7 years ago

tusharmath commented 7 years ago

Reverts tusharmath/observable-air#96

tusharmath commented 7 years ago

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

Node: v7.4.0 V8: 5.4.500.45

┌─────────────────────────────────────────────────────┬─────────────────────┬─────────┐
│ name                                                │ ops/sec             │ samples │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ create                                              │ 1,022 (±0.13%)      │ 86      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 840 (±0.54%)        │ 84      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce                               │ 83 (±0.32%)         │ 76      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce                              │ 59 (±0.75%)         │ 69      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 596 (±0.81%)        │ 85      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ scheduleImmediately                                 │ 443,193 (±1.04%)    │ 84      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ tryCatch                                            │ 14,686,203 (±1.26%) │ 89      │
└─────────────────────────────────────────────────────┴─────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+5.0%) to 85.737% when pulling 8c74eb055ef296bdf0e1e9bf6937f7297b1b0913 on revert-96-fluid-only into cd2f734d7d43dbcdfc367803a577125cf493c18a on master.