tusharmath / observable-air

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

Observable class #203

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                                              │ 996 (±1.13%)    │ 85      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> debounce                                    │ 742 (±5.97%)    │ 41      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 70,343 (±4.19%) │ 61      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> map -> reduce                               │ 50 (±0.75%)     │ 77      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> scan -> reduce                              │ 27 (±0.41%)     │ 65      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 430 (±0.66%)    │ 87      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest                │ 4,449 (±3.68%)  │ 67      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ tryCatch                                            │ 2,667 (±0.37%)  │ 91      │
└─────────────────────────────────────────────────────┴─────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.02%) to 85.839% when pulling 88af2e1b5c695a500be635d3c8a46cc90d833ee0 on observable-class into d1d9f171113c6e988d29b855b33f41426a5420e7 on master.

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                                              │ 1,016 (±0.7%)   │ 87      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> debounce                                    │ 852 (±5.86%)    │ 56      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 75,393 (±2.68%) │ 67      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> map -> reduce                               │ 51 (±0.59%)     │ 79      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> scan -> reduce                              │ 27 (±1.87%)     │ 65      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 433 (±0.16%)    │ 88      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest                │ 4,584 (±3.82%)  │ 70      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ tryCatch                                            │ 2,688 (±0.26%)  │ 92      │
└─────────────────────────────────────────────────────┴─────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.02%) to 85.839% when pulling 96e4df09a2075a190debdbac4ac07b01ea6d9844 on observable-class into 2476b641db24369643df8aabcc58cd1152bf1da2 on master.