@@ -71,11 +71,11 @@ list_comparisons () {
71# chart is expensive to build and usually not required to be rebuilt,
71# chart is expensive to build and usually not required to be rebuilt,
72# use master branch as fallback
72# use master branch as fallback
73cabal_which_report() {
73cabal_which_report() {
74− local path=$(cabal_which streamly-benchmarks x $1)
74+ local path=$(cabal_which bench-report x $1)
75 if test -z "$path"
75 if test -z "$path"
77 echo "Cannot find $1 executable, trying in dist-newstyle" 1>&2
77 echo "Cannot find $1 executable, trying in dist-newstyle" 1>&2
78− local path1=$(cabal_which_builddir dist-newstyle streamly-benchmarks x $1)
78+ local path1=$(cabal_which_builddir dist-newstyle bench-report x $1)
79 if test -z "$path1"
79 if test -z "$path1"
81 local path2="./bin/$1"
81 local path2="./bin/$1"
@@ -93,7 +93,7 @@ cabal_which_report() {
95find_report_prog() {
95find_report_prog() {
96− local prog_name="chart"
96+ local prog_name="bench-report"
98 local prog_path=$(cabal_which_report $prog_name)
98 local prog_path=$(cabal_which_report $prog_name)
99 if test -x "$prog_path"
99 if test -x "$prog_path"
@@ -105,16 +105,16 @@ find_report_prog() {
107build_report_prog() {
107build_report_prog() {
108− local prog_name="chart"
108+ local prog_name="bench-report"
109 local prog_path=$(cabal_which_report $prog_name)
109 local prog_path=$(cabal_which_report $prog_name)
112 if test ! -x "$prog_path" -a "$BUILD_ONCE" = "0"
112 if test ! -x "$prog_path" -a "$BUILD_ONCE" = "0"
114− echo "Building bench-show executables"
114+ echo "Building bench-report executables"
115 BUILD_ONCE=1
115 BUILD_ONCE=1
116− $CABAL_EXECUTABLE v2-build --flags dev chart \
116+ $CABAL_EXECUTABLE v2-build bench-report --project-file=benchmark/bench-report/cabal.project \
117− || die "bench-show build failed"
117+ || die "bench-report build failed"
119 elif test ! -x "$prog_path"
119 elif test ! -x "$prog_path"
@@ -129,8 +129,8 @@ build_report_progs() {
129 build_report_prog || exit 1
129 build_report_prog || exit 1
130 local prog
130 local prog
131 prog=$(find_report_prog) || \
131 prog=$(find_report_prog) || \
132− die "Cannot find bench-show executable"
132+ die "Cannot find bench-report executable"
133− echo "Using bench-show executable [$prog]"
133+ echo "Using bench-report executable [$prog]"