File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed
Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -119,24 +119,13 @@ jobs:
119119 tool : " customSmallerIsBetter"
120120 output-file-path : benchmark.json
121121 github-token : ${{ secrets.GITHUB_TOKEN }}
122- auto-push : true
122+ skip-fetch-gh-pages : true
123+ auto-push : false
123124 alert-threshold : " 0%"
124125 fail-on-alert : false
125- comment-always : true
126+ comment-always : false
126127
127128 # --- Always post a PR comment ---
128- - name : Post PR Comment with baseline vs new
129- if : github.event_name == 'pull_request'
130- uses : actions/github-script@v6
131- with :
132- script : |
133- const baseline = process.env.BASELINE;
134- const newval = process.env.NEWVAL;
135- const ratio = process.env.RATIO;
136- const pctChange = ((newval - baseline) * 100 / baseline).toFixed(2);
137- const statusMsg = ratio > 1.10
138- ? ':warning: **Performance regression detected!**'
139- : ':white_check_mark: Performance within threshold.';
140129 const body = `### Ledger Backtest Benchmark
141130 **Baseline:** ${baseline} sec/slot
142131 **New:** ${newval} sec/slot
You can’t perform that action at this time.
0 commit comments