diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 1ec37f97fc0e584f1af609fe105985519677c614..579b24ce1b8272fbd9ece636b9ccf1ffdb8f3d5f 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -48,7 +48,7 @@ test_commit=`git rev-parse HEAD` asv run $master_commit...$master_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn asv run $test_commit...$test_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn -output=`asv compare $master_commit $test_commit --factor 1 -s` +output=`asv compare $master_commit $test_commit --factor ${ASV_FACTOR:-1} -s` echo "$output" if [[ "$output" = *"worse"* ]]; then @@ -57,5 +57,6 @@ if [[ "$output" = *"worse"* ]]; then fi if [[ "$CI_PROJECT_NAMESPACE" == "inducer" ]]; then + git branch -v asv publish --html-dir ~/.scicomp-benchmarks/asv/$PROJECT fi