build only specified benchmarks
This saves a lot of time when we are only running specific benchmarks.
commit52b11eb682bf7d8708f13f91915a2ef569d6de65
authorHarendra Kumar <harendra.kumar@gmail.com>
dateSun 26 Jan 2020, 13:41 (7 years ago)
parentc3827c0
bench.sh+6−1
@@ -361,7 +361,12 @@ build_report_progs "$BENCHMARKS"
361361if test "$MEASURE" = "1"
362362then
363363 echo $BUILD_BENCH
364− $BUILD_BENCH || die "build failed"
364+ if test "$USE_STACK" = "1"
365+ then
366+ $BUILD_BENCH || die "build failed"
367+ else
368+ $BUILD_BENCH $BENCHMARKS || die "build failed"
369+ fi
365370 run_measurements "$BENCHMARKS"
366371fi
367372