tusharmath / observable-air

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

fix(linkedlist): disable values from going lower than 0 #123

Closed tusharmath closed 7 years ago

tusharmath commented 7 years ago

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

Node: v7.4.0 V8: 5.4.500.45

┌────────────────────────┬─────────────────────┬─────────┐
│ name                   │ ops/sec             │ samples │
├────────────────────────┼─────────────────────┼─────────┤
│ create                 │ 957 (±1.67%)        │ 79      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce  │ 202 (±3.21%)        │ 77      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce │ 56 (±2.46%)         │ 66      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 558 (±2.09%)        │ 80      │
├────────────────────────┼─────────────────────┼─────────┤
│ tryCatch               │ 13,660,729 (±4.29%) │ 81      │
└────────────────────────┴─────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 88.313% when pulling ad5c6789a885bb0dc92c857fb7f3f0d6ab7fadce on linked-list-length-fix into 43da5780a20cae306d4fa481253886a65b9e01a5 on master.

tusharmath commented 7 years ago

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

Node: v7.4.0 V8: 5.4.500.45

┌────────────────────────┬─────────────────────┬─────────┐
│ name                   │ ops/sec             │ samples │
├────────────────────────┼─────────────────────┼─────────┤
│ create                 │ 993 (±1.51%)        │ 83      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce  │ 215 (±2.36%)        │ 80      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce │ 52 (±3.19%)         │ 71      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 514 (±2.44%)        │ 75      │
├────────────────────────┼─────────────────────┼─────────┤
│ tryCatch               │ 14,263,025 (±2.12%) │ 83      │
└────────────────────────┴─────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 88.313% when pulling 81f442b5cfb22941c48175724657cc792c278194 on linked-list-length-fix into 43da5780a20cae306d4fa481253886a65b9e01a5 on master.