on master help sign in
Get rid of unecessary argument & extend --help with --raw

build_report_progs does not need an argument

commit7e3f44d8b5edcaeb3af6547464af2e77b702f5d7 authoradithyaov <adithya@composewell.com> dateWed 28 Oct 2020, 18:33 (6 years ago) parent1820919
1 file changed+4−1
bench.sh+4−1
bench.sh+4−1
@@ -139,6 +139,7 @@ print_help () {
139139 echo " [--long]"
140140 echo " [--slow]"
141141 echo " [--quick]"
142+ echo " [--raw]"
142143 echo " [--cabal-build-flags <flag>]"
143144 echo " [--compare] [--base <commit>] [--candidate <commit>]"
144145 echo " -- <gauge options or benchmarks>"
@@ -151,6 +152,8 @@ print_help () {
151152 echo "--long: Use much longer stream size for infinite stream benchmarks"
152153 echo "--slow: Slightly more accurate results at the expense of speed"
153154 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."
154157 echo "--cabal-build-flags: Pass any cabal builds flags to be used for build"
155158 echo
156159 echo "When specific space complexity group is chosen then (and only then) "
@@ -552,7 +555,7 @@ fi
552555
553556# We need to build the report progs first at the current (latest) commit before
554557# checking out any other commit for benchmarking.
555−build_report_progs "$BENCHMARKS"
558+build_report_progs
556559
557560#-----------------------------------------------------------------------------
558561# Run benchmarks