Closed tusharmath closed 7 years ago
observable-air@ benchmark /home/travis/build/tusharmath/observable-air tsc && node ./benchmarks/run
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 │ 985 (±1.34%) │ 80 │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> combine(sum3, [a, b, c]) -> reduce(sum2, 0) │ 834 (±0.73%) │ 81 │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> map -> reduce │ 80 (±1.57%) │ 74 │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> scan -> reduce │ 56 (±2.36%) │ 68 │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 576 (±1.57%) │ 79 │
├─────────────────────────────────────────────────────┼─────────────────────┼─────────┤
│ tryCatch │ 13,602,897 (±2.77%) │ 84 │
└─────────────────────────────────────────────────────┴─────────────────────┴─────────┘
makes the src/ folder much cleaner
fixes #113