tusharmath / observable-air

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

test(scheduler): add unit tests for test-scheduler #108

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: v7.4.0 V8: 5.4.500.45

┌─────────────────────────────────────────────────────┬─────────────────────┬─────────┐
│ name                                                │ ops/sec             │ samples │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ create                                              │ 1,005 (±0.78%)      │ 84      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 837 (±0.75%)        │ 83      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce                               │ 76 (±2.17%)         │ 70      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce                              │ 57 (±1.9%)          │ 67      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 572 (±1.74%)        │ 82      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ tryCatch                                            │ 14,129,861 (±0.97%) │ 82      │
└─────────────────────────────────────────────────────┴─────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+1.07%) to 87.625% when pulling 1935f48338b9174addaf3ea6f9bf25cbf81f5640 on scheduler-fixes into 72d35afffcb6e3b822b11c9c5769b1c1baafa2c8 on master.