tusharmath / observable-air

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

Package fixes #82

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.2.1 V8: 5.4.500.44

┌─────────────────────────────────────────────────────┬─────────────────────┬─────────┐
│ name                                                │ ops/sec             │ samples │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ create                                              │ 982 (±1.76%)        │ 83      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 843 (±0.52%)        │ 84      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce                               │ 80 (±2.23%)         │ 74      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce                              │ 56 (±1.5%)          │ 74      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 591 (±0.86%)        │ 85      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ scheduleImmediately                                 │ 389,761 (±1.64%)    │ 82      │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ tryCatch                                            │ 14,592,497 (±1.27%) │ 90      │
└─────────────────────────────────────────────────────┴─────────────────────┴─────────┘
tusharmath commented 7 years ago

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

Node: v7.2.1 V8: 5.4.500.44

┌─────────────────────────────────────────────────────┬────────────────────┬─────────┐
│ name                                                │ ops/sec            │ samples │
├─────────────────────────────────────────────────────┼────────────────────┼─────────┤
│ create                                              │ 1,015 (±0.54%)     │ 85      │
├─────────────────────────────────────────────────────┼────────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 833 (±0.63%)       │ 82      │
├─────────────────────────────────────────────────────┼────────────────────┼─────────┤
│ file -> map -> reduce                               │ 81 (±0.66%)        │ 75      │
├─────────────────────────────────────────────────────┼────────────────────┼─────────┤
│ file -> scan -> reduce                              │ 57 (±2.41%)        │ 66      │
├─────────────────────────────────────────────────────┼────────────────────┼─────────┤
│ file -> takeN(0, n/10)                              │ 578 (±1.11%)       │ 81      │
├─────────────────────────────────────────────────────┼────────────────────┼─────────┤
│ scheduleImmediately                                 │ 383,418 (±2.33%)   │ 80      │
├─────────────────────────────────────────────────────┼────────────────────┼─────────┤
│ tryCatch                                            │ 14,258,186 (±0.9%) │ 86      │
└─────────────────────────────────────────────────────┴────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 85.737% when pulling d58a63d154c25202abcfb575dc515b7a23385134 on package-fixes into e9d7e2b162c9a626462e21273393df3a2ece5836 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 85.737% when pulling d58a63d154c25202abcfb575dc515b7a23385134 on package-fixes into e9d7e2b162c9a626462e21273393df3a2ece5836 on master.