tusharmath / observable-air

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

Test option centralize #106

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                                              │ 982 (±1.39%)        │ 82      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 819 (±1.1%)         │ 81      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce                               │ 73 (±2.47%)         │ 70      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce                              │ 47 (±3.48%)         │ 72      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 549 (±1.58%)        │ 80      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ tryCatch                                            │ 12,879,693 (±2.54%) │ 80      │
└─────────────────────────────────────────────────────┴─────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 86.555% when pulling 81853892f68c321522b4a9e01901423c2a06001e on test-option-centralize into 9ed125ee6c7f46bfb7a0af6a262a81e40ebf7fc2 on master.