on master help sign in
update thread/output buffer limits in changelog

and fix bench.sh

commitff38c5009da0061f0449f22de5baf262a0e57be5 authorHarendra Kumar <harendra.kumar@gmail.com> dateSun 13 May 2018, 11:30 (8 years ago) parent9c9b279
2 files changed+10−7
Changelog.md+2 bench.sh+8−7
Changelog.md+2
@@ -73,6 +73,8 @@
7373 * `parallel` run two streams in parallel (replaces `<|>`)
7474 * `WAsyncT` stream type for BFS version of `AsyncT` composition
7575* Add simpler stream types that are specialized to the IO monad
76+* Put a bound (1500) on the output buffer used for asynchronous tasks
77+* Put a limit (1500) on the number of threads used for Async and WAsync types
7678
7779## 0.1.2
7880
bench.sh+8−7
@@ -46,6 +46,14 @@ done
4646
4747GAUGE_ARGS=$*
4848
49+if test -z "$BENCHMARK"
50+then
51+ BENCHMARK=$DEFAULT_BENCHMARK
52+ echo "Using default benchmark suite [$BENCHMARK], use --benchmark to specify another"
53+else
54+ echo "Using benchmark suite [$BENCHMARK]"
55+fi
56+
4957STACK=stack
5058echo "Using stack command [$STACK]"
5159
@@ -80,13 +88,6 @@ fi
8088# find .stack-work/ -type f -name "benchmarks"
8189
8290find_bench_prog () {
83− if test -z "$BENCHMARK"
84− then
85− BENCHMARK=$DEFAULT_BENCHMARK
86− echo "Using default benchmark suite [$BENCHMARK], use --benchmark to specify another"
87− else
88− echo "Using benchmark suite [$BENCHMARK]"
89− fi
9091 BENCH_PROG=`$STACK path --dist-dir`/build/$BENCHMARK/$BENCHMARK
9192 if test ! -x "$BENCH_PROG"
9293 then