on master help sign in
Get rid of unecessary argument & extend --help with --raw
7e3f44dadithyaov
bench.sh+4−1
@@ -139,6 +139,7 @@ print_help () {
139 echo " [--long]"
139 echo " [--long]"
140 echo " [--slow]"
140 echo " [--slow]"
141 echo " [--quick]"
141 echo " [--quick]"
142+ echo " [--raw]"
142 echo " [--cabal-build-flags <flag>]"
143 echo " [--cabal-build-flags <flag>]"
143 echo " [--compare] [--base <commit>] [--candidate <commit>]"
144 echo " [--compare] [--base <commit>] [--candidate <commit>]"
144 echo " -- <gauge options or benchmarks>"
145 echo " -- <gauge options or benchmarks>"
@@ -151,6 +152,8 @@ print_help () {
151 echo "--long: Use much longer stream size for infinite stream benchmarks"
152 echo "--long: Use much longer stream size for infinite stream benchmarks"
152 echo "--slow: Slightly more accurate results at the expense of speed"
153 echo "--slow: Slightly more accurate results at the expense of speed"
153 echo "--quick: Faster results, useful for longer benchmarks"
154 echo "--quick: Faster results, useful for longer benchmarks"
155+ echo "--raw: Run the benchmarks but don't report them. This is useful when"
156+ echo " you only want to work with the csv files generated."
154 echo "--cabal-build-flags: Pass any cabal builds flags to be used for build"
157 echo "--cabal-build-flags: Pass any cabal builds flags to be used for build"
155 echo
158 echo
156 echo "When specific space complexity group is chosen then (and only then) "
159 echo "When specific space complexity group is chosen then (and only then) "
@@ -552,7 +555,7 @@ fi
552
555
553# We need to build the report progs first at the current (latest) commit before
556# We need to build the report progs first at the current (latest) commit before
554# checking out any other commit for benchmarking.
557# checking out any other commit for benchmarking.
555−build_report_progs "$BENCHMARKS"
558+build_report_progs
556
559
557#-----------------------------------------------------------------------------
560#-----------------------------------------------------------------------------
558# Run benchmarks
561# Run benchmarks