mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-10-26 09:59:48 +03:00
build only specified benchmarks
This saves a lot of time when we are only running specific benchmarks.
This commit is contained in:
parent
c3827c0ab5
commit
52b11eb682
7
bench.sh
7
bench.sh
@ -361,7 +361,12 @@ build_report_progs "$BENCHMARKS"
|
||||
if test "$MEASURE" = "1"
|
||||
then
|
||||
echo $BUILD_BENCH
|
||||
$BUILD_BENCH || die "build failed"
|
||||
if test "$USE_STACK" = "1"
|
||||
then
|
||||
$BUILD_BENCH || die "build failed"
|
||||
else
|
||||
$BUILD_BENCH $BENCHMARKS || die "build failed"
|
||||
fi
|
||||
run_measurements "$BENCHMARKS"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user