on master help sign in
update thread/output buffer limits in changelog
ff38c50Harendra Kumar
Changelog.md+2
@@ -73,6 +73,8 @@
73 * `parallel` run two streams in parallel (replaces `<|>`)
73 * `parallel` run two streams in parallel (replaces `<|>`)
74 * `WAsyncT` stream type for BFS version of `AsyncT` composition
74 * `WAsyncT` stream type for BFS version of `AsyncT` composition
75* Add simpler stream types that are specialized to the IO monad
75* 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
76
78
77## 0.1.2
79## 0.1.2
78
80
bench.sh+8−7
@@ -46,6 +46,14 @@ done
46
46
47GAUGE_ARGS=$*
47GAUGE_ARGS=$*
48
48
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+
49STACK=stack
57STACK=stack
50echo "Using stack command [$STACK]"
58echo "Using stack command [$STACK]"
51
59
@@ -80,13 +88,6 @@ fi
80# find .stack-work/ -type f -name "benchmarks"
88# find .stack-work/ -type f -name "benchmarks"
81
89
82find_bench_prog () {
90find_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
90 BENCH_PROG=`$STACK path --dist-dir`/build/$BENCHMARK/$BENCHMARK
91 BENCH_PROG=`$STACK path --dist-dir`/build/$BENCHMARK/$BENCHMARK
91 if test ! -x "$BENCH_PROG"
92 if test ! -x "$BENCH_PROG"
92 then
93 then