tusharmath / observable-air

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

Fluidic style #220

Closed tusharmath closed 6 years ago

tusharmath commented 6 years ago

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

Node: v9.0.0 V8: 6.2.414.32-node.8

┌─────────────────────────────────────────────────────┬─────────────────┬─────────┐
│ name                                                │ ops/sec         │ samples │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ create                                              │ 664 (±1.29%)    │ 81      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> debounce                                    │ 410 (±3.67%)    │ 36      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 45,637 (±4.17%) │ 70      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> map -> reduce                               │ 28 (±1.49%)     │ 66      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> scan -> reduce                              │ 11 (±0.99%)     │ 55      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 218 (±0.29%)    │ 81      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest                │ 3,223 (±3.37%)  │ 67      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ tryCatch                                            │ 598 (±1.17%)    │ 83      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> mergeMap                                    │ 20 (±1.81%)     │ 51      │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ (file, file) -> concat                              │ 10,684 (±1.67%) │ 75      │
└─────────────────────────────────────────────────────┴─────────────────┴─────────┘
coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.01%) to 88.719% when pulling 4b30f1f1fd49c0ecb07c4fc8b01329a14745f3e9 on fluidic-style into 19b48e6aa0f2ee3194e34e88ae7e8e0682fc9bbe on master.