We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecc08c5 commit b7ab26cCopy full SHA for b7ab26c
.github/workflows/asv_benchmark_pr.yml
@@ -49,4 +49,9 @@ jobs:
49
--no-stats --interleave-rounds -a repeat=3 || true
50
51
- name: BENCHMARK RESULTS
52
- run: asv compare --factor=1.1 --no-stats --split upstream/main HEAD
+ run: |
53
+ asv compare --factor=1.1 --no-stats --split upstream/main HEAD | tee ${{ env.BENCHMARKS_OUTPUT }}
54
+ if grep -q "Benchmarks that have got worse" "${{ env.BENCHMARKS_OUTPUT }}"; then
55
+ echo "Performance degradation detected!"
56
+ exit 1
57
+ fi
0 commit comments