tusharmath / observable-air

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

Fix observable ctor #204

Closed tusharmath closed 7 years ago

tusharmath commented 7 years ago

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

Node: v8.4.0 V8: 6.0.286.52

┌─────────────────────────────────────────────────────┬─────────────────┬─────────┐
│ name                                                │ ops/sec         │ samples │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ create                                              │ 997 (±0.99%)    │ 87      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> debounce                                    │ 817 (±5.7%)     │ 54      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 75,589 (±3.66%) │ 67      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> map -> reduce                               │ 50 (±1.97%)     │ 77      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> scan -> reduce                              │ 27 (±1.21%)     │ 64      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 432 (±0.28%)    │ 88      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest                │ 4,319 (±3.75%)  │ 66      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ tryCatch                                            │ 2,678 (±1.69%)  │ 87      │
└─────────────────────────────────────────────────────┴─────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage decreased (-2.08%) to 83.755% when pulling 93b6a0f6424fdbaf00c166f385d70766e585af5c on fix-observable-ctor into 87cf3d72dec5d6e72a076a24b66332f3b36b1b90 on master.