tusharmath / observable-air

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

Debounce #138

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.5.0 V8: 5.4.500.48

┌────────────────────────┬─────────────────────┬─────────┐
│ name                   │ ops/sec             │ samples │
├────────────────────────┼─────────────────────┼─────────┤
│ create                 │ 1,004 (±0.9%)       │ 84      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> debounce       │ 611 (±5.19%)        │ 56      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce  │ 171 (±1.57%)        │ 84      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce │ 47 (±5.12%)         │ 75      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 513 (±0.57%)        │ 84      │
├────────────────────────┼─────────────────────┼─────────┤
│ tryCatch               │ 14,002,875 (±2.08%) │ 86      │
└────────────────────────┴─────────────────────┴─────────┘
tusharmath commented 7 years ago

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

Node: v7.5.0 V8: 5.4.500.48

┌────────────────────────┬─────────────────────┬─────────┐
│ name                   │ ops/sec             │ samples │
├────────────────────────┼─────────────────────┼─────────┤
│ create                 │ 1,012 (±0.84%)      │ 85      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> debounce       │ 623 (±6.43%)        │ 39      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce  │ 98 (±2.3%)          │ 75      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce │ 48 (±2.88%)         │ 73      │
├────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 506 (±2.13%)        │ 84      │
├────────────────────────┼─────────────────────┼─────────┤
│ tryCatch               │ 13,411,556 (±1.86%) │ 84      │
└────────────────────────┴─────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 88.993% when pulling 317a632cf6bdcfcffa7a408057e360798bbb08d4 on debounce into a0b284ba1980b561a30b835a3b4ffbe36bea443d on master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 88.993% when pulling 317a632cf6bdcfcffa7a408057e360798bbb08d4 on debounce into a0b284ba1980b561a30b835a3b4ffbe36bea443d on master.

tusharmath commented 7 years ago

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

Node: v7.5.0 V8: 5.4.500.48

┌────────────────────────┬────────────────┬─────────┐
│ name                   │ ops/sec        │ samples │
├────────────────────────┼────────────────┼─────────┤
│ create                 │ 1,008 (±0.85%) │ 84      │
├────────────────────────┼────────────────┼─────────┤
│ file -> debounce       │ 591 (±6.59%)   │ 53      │
├────────────────────────┼────────────────┼─────────┤
│ file -> map -> reduce  │ 166 (±2.37%)   │ 82      │
├────────────────────────┼────────────────┼─────────┤
│ file -> scan -> reduce │ 50 (±1.33%)    │ 77      │
├────────────────────────┼────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 521 (±0.24%)   │ 86      │
├────────────────────────┼────────────────┼─────────┤
│ tryCatch               │ 1,899 (±0.27%) │ 91      │
└────────────────────────┴────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 88.993% when pulling 833215e363a56e70de13c0d3eed85cd3c964d8e0 on debounce into f404d4d08db8ac291dcd200740d857120872d319 on master.

tusharmath commented 7 years ago

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

Node: v7.5.0 V8: 5.4.500.48

┌────────────────────────┬────────────────┬─────────┐
│ name                   │ ops/sec        │ samples │
├────────────────────────┼────────────────┼─────────┤
│ create                 │ 1,002 (±0.63%) │ 84      │
├────────────────────────┼────────────────┼─────────┤
│ file -> debounce       │ 694 (±5.19%)   │ 55      │
├────────────────────────┼────────────────┼─────────┤
│ file -> map -> reduce  │ 100 (±1.13%)   │ 76      │
├────────────────────────┼────────────────┼─────────┤
│ file -> scan -> reduce │ 48 (±1.72%)    │ 73      │
├────────────────────────┼────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 508 (±1.89%)   │ 84      │
├────────────────────────┼────────────────┼─────────┤
│ tryCatch               │ 2,037 (±2.05%) │ 86      │
└────────────────────────┴────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 88.993% when pulling 4fa762d1464841b885c738ff86ce1a97d2e6e017 on debounce into f404d4d08db8ac291dcd200740d857120872d319 on master.