Closed tusharmath closed 7 years ago
observable-air@ benchmark /home/travis/build/tusharmath/observable-air tsc && node ./benchmarks/run
Node: v7.9.0 V8: 5.5.372.43
┌─────────────────────────────────────────────────────┬─────────────────┬─────────┐
│ name │ ops/sec │ samples │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ create │ 999 (±1.21%) │ 83 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> debounce │ 804 (±6.05%) │ 63 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 23,763 (±2.72%) │ 72 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> map -> reduce │ 58 (±3.03%) │ 68 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> scan -> reduce │ 31 (±2.75%) │ 71 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 515 (±1.07%) │ 85 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest │ 4,469 (±5.36%) │ 55 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ tryCatch │ 2,148 (±1.89%) │ 89 │
└─────────────────────────────────────────────────────┴─────────────────┴─────────┘
observable-air@ benchmark /home/travis/build/tusharmath/observable-air tsc && node ./benchmarks/run
Node: v7.9.0 V8: 5.5.372.43
┌─────────────────────────────────────────────────────┬─────────────────┬─────────┐
│ name │ ops/sec │ samples │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ create │ 1,000 (±0.67%) │ 84 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> debounce │ 810 (±5.1%) │ 65 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 21,407 (±5.05%) │ 68 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> map -> reduce │ 60 (±2.42%) │ 70 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> scan -> reduce │ 33 (±1.27%) │ 76 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 507 (±1.69%) │ 83 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest │ 3,908 (±5.76%) │ 52 │
├─────────────────────────────────────────────────────┼─────────────────┼─────────┤
│ tryCatch │ 2,040 (±2.61%) │ 84 │
└─────────────────────────────────────────────────────┴─────────────────┴─────────┘
fixes #174