tusharmath / observable-air

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

refactor(scheduler): internal implementations dont need to be exposed… #135

Closed tusharmath closed 7 years ago

tusharmath commented 7 years ago

… externally

env specific scheduling strategies are not abstracted over asap() and delay()

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                 │ 957 (±1.4%)        │ 80      │
├────────────────────────┼────────────────────┼─────────┤
│ file -> map -> reduce  │ 260 (±4.36%)       │ 73      │
├────────────────────────┼────────────────────┼─────────┤
│ file -> scan -> reduce │ 51 (±3.61%)        │ 65      │
├────────────────────────┼────────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 1,507 (±4.34%)     │ 73      │
├────────────────────────┼────────────────────┼─────────┤
│ tryCatch               │ 12,019,002 (±3.4%) │ 78      │
└────────────────────────┴────────────────────┴─────────┘
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 88.674% when pulling 79566155db0aca2bd38ca28552bae4c20a154a81 on scheduler-simplify into e9a2f2dbc1c67101ca063ecdbf8f67021eca3952 on master.