Skip to content

Commit 7929606

Browse files
committed
test
1 parent c2e2036 commit 7929606

1 file changed

Lines changed: 18 additions & 19 deletions

File tree

.github/workflows/prs.yaml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,28 +44,27 @@ jobs:
4444
path: ./cache/benchmark-data.json
4545
key: ${{ steps.get-main-branch-sha.outputs.sha }}-${{ runner.os }}-${{ steps.system-info.outputs.cpu-model }}-go-benchmark
4646

47-
- name: Compare benchmarks with Main
48-
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
49-
if: steps.cache.outputs.cache-hit == 'true'
50-
with:
51-
# What benchmark tool the output.txt came from
52-
tool: 'go'
53-
# Where the output from the benchmark tool is stored
54-
output-file-path: ${{ github.sha }}_bench_output.txt
55-
# Where the benchmarks in main are (to compare)
56-
external-data-json-path: ./cache/benchmark-data.json
57-
# Do not save the data
58-
save-data-file: false
59-
# Workflow will fail when an alert happens
60-
fail-on-alert: true
61-
alert-threshold: "200%"
62-
github-token: ${{ secrets.GITHUB_TOKEN }}
63-
# Enable Job Summary for PRs
64-
summary-always: true
47+
# - name: Compare benchmarks with Main
48+
# uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
49+
# if: steps.cache.outputs.cache-hit == 'true'
50+
# with:
51+
# # What benchmark tool the output.txt came from
52+
# tool: 'go'
53+
# # Where the output from the benchmark tool is stored
54+
# output-file-path: ${{ github.sha }}_bench_output.txt
55+
# # Where the benchmarks in main are (to compare)
56+
# external-data-json-path: ./cache/benchmark-data.json
57+
# # Do not save the data
58+
# save-data-file: false
59+
# # Workflow will fail when an alert happens
60+
# fail-on-alert: true
61+
# alert-threshold: "200%"
62+
# github-token: ${{ secrets.GITHUB_TOKEN }}
63+
# # Enable Job Summary for PRs
64+
# summary-always: true
6565

6666
- name: Run benchmarks but don't compare to Main branch
6767
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
68-
if: steps.cache.outputs.cache-hit != 'true'
6968
with:
7069
# What benchmark tool the output.txt came from
7170
tool: 'go'

0 commit comments

Comments
 (0)