Closed tusharmath closed 7 years ago
observable-air@ benchmark /home/travis/build/tusharmath/observable-air tsc && node ./benchmarks/run
Node: v7.7.4 V8: 5.5.372.42
┌──────────────────────────────────────┬────────────────┬─────────┐
│ name │ ops/sec │ samples │
├──────────────────────────────────────┼────────────────┼─────────┤
│ create │ 1,019 (±0.18%) │ 86 │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> debounce │ 830 (±4.8%) │ 67 │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> map -> reduce │ 166 (±0.77%) │ 82 │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> scan -> reduce │ 45 (±2.16%) │ 70 │
├──────────────────────────────────────┼────────────────┼─────────┤
│ file -> takeN(0, n/10) │ 484 (±2%) │ 79 │
├──────────────────────────────────────┼────────────────┼─────────┤
│ array(2) -> array(i) -> switchLatest │ 4,476 (±4.88%) │ 64 │
├──────────────────────────────────────┼────────────────┼─────────┤
│ tryCatch │ 2,070 (±1.77%) │ 88 │
└──────────────────────────────────────┴────────────────┴─────────┘
fludic api is an overkill for this library