File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 4747 run : cargo run -p tonbo-bench-runner -- --mode component --profile ci
4848
4949 - name : Compare against baseline
50+ id : compare
51+ continue-on-error : true
5052 run : |
5153 cargo run -p tonbo-bench-runner -- compare \
5254 --current target/bench-results \
5658 --report target/bench-results/regression-report.json
5759
5860 - name : Generate performance report
61+ if : ${{ always() }}
5962 run : |
6063 cargo run -p tonbo-bench-runner -- report \
6164 --results-dir target/bench-results \
6467 --output-json target/bench-reports/perf-report.json
6568
6669 - name : Upload benchmark artifacts
70+ if : ${{ always() }}
6771 uses : actions/upload-artifact@v4
6872 with :
6973 name : tonbo-benchmarks
7377 target/bench-reports/perf-report.md
7478 target/bench-reports/perf-report.json
7579 if-no-files-found : ignore
80+
81+ - name : Fail on regression
82+ if : ${{ steps.compare.outcome == 'failure' }}
83+ run : exit 1
You can’t perform that action at this time.
0 commit comments