Skip to content

Commit 2bc88b6

Browse files
authored
updates to benchmarks (#2656)
1 parent 8dc0eff commit 2bc88b6

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

.github/workflows/benchmark-action.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,20 @@ jobs:
2121
with:
2222
dotnet-version: '8.x'
2323
- name: Run benchmark
24-
run: cd benchmark && dotnet run -c release -f net8.0 --exporters json
24+
run: cd benchmark && dotnet run -c release -f net8.0 --filter * --exporters json
2525

2626
- name: Download previous benchmark data
2727
uses: actions/cache@v3
2828
with:
2929
path: ./cache
3030
key: ${{ runner.os }}-benchmark
3131

32-
- name: Store CreateAuthorizationHeader result
32+
- name: Store TokenAcquisitionBenchmark benchmark results
3333
uses: benchmark-action/github-action-benchmark@v1
3434
with:
35-
name: CreateAuthorizationHeader
35+
name: TokenAcquisitionBenchmarks
3636
tool: 'benchmarkdotnet'
37-
output-file-path: benchmark/BenchmarkDotNet.Artifacts/results/Benchmarks.CreateAuthorizationHeader-report-full-compressed.json
38-
github-token: ${{ secrets.GITHUB_TOKEN }}
39-
auto-push: true
40-
# Show alert with commit comment on detecting possible performance regression
41-
alert-threshold: '130%'
42-
comment-on-alert: true
43-
fail-on-alert: true
44-
summary-always: true
45-
gh-pages-branch: gh-pages
46-
benchmark-data-dir-path: benchmarks
47-
48-
- name: Store GetTokenAcquirer result
49-
uses: benchmark-action/github-action-benchmark@v1
50-
with:
51-
name: GetTokenAcquirer
52-
tool: 'benchmarkdotnet'
53-
output-file-path: benchmark/BenchmarkDotNet.Artifacts/results/Benchmarks.GetTokenAcquirer-report-full-compressed.json
37+
output-file-path: benchmark/BenchmarkDotNet.Artifacts/results/Benchmarks.TokenAcquisitionBenchmark-report-full-compressed.json
5438
github-token: ${{ secrets.GITHUB_TOKEN }}
5539
auto-push: true
5640
# Show alert with commit comment on detecting possible performance regression

0 commit comments

Comments
 (0)