Skip to content

Commit 390b849

Browse files
auto-push: false
1 parent a5c996e commit 390b849

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)