diff --git a/.github/workflows/benchmark-action.yml b/.github/workflows/benchmark-action.yml index bb424a60f..588a7bfd7 100644 --- a/.github/workflows/benchmark-action.yml +++ b/.github/workflows/benchmark-action.yml @@ -21,7 +21,7 @@ jobs: with: dotnet-version: '8.x' - name: Run benchmark - run: cd benchmark && dotnet run -c release -f net8.0 --exporters json + run: cd benchmark && dotnet run -c release -f net8.0 --filter * --exporters json - name: Download previous benchmark data uses: actions/cache@v3 @@ -29,28 +29,12 @@ jobs: path: ./cache key: ${{ runner.os }}-benchmark - - name: Store CreateAuthorizationHeader result + - name: Store TokenAcquisitionBenchmark benchmark results uses: benchmark-action/github-action-benchmark@v1 with: - name: CreateAuthorizationHeader + name: TokenAcquisitionBenchmarks tool: 'benchmarkdotnet' - output-file-path: benchmark/BenchmarkDotNet.Artifacts/results/Benchmarks.CreateAuthorizationHeader-report-full-compressed.json - github-token: ${{ secrets.GITHUB_TOKEN }} - auto-push: true - # Show alert with commit comment on detecting possible performance regression - alert-threshold: '130%' - comment-on-alert: true - fail-on-alert: true - summary-always: true - gh-pages-branch: gh-pages - benchmark-data-dir-path: benchmarks - - - name: Store GetTokenAcquirer result - uses: benchmark-action/github-action-benchmark@v1 - with: - name: GetTokenAcquirer - tool: 'benchmarkdotnet' - output-file-path: benchmark/BenchmarkDotNet.Artifacts/results/Benchmarks.GetTokenAcquirer-report-full-compressed.json + output-file-path: benchmark/BenchmarkDotNet.Artifacts/results/Benchmarks.TokenAcquisitionBenchmark-report-full-compressed.json github-token: ${{ secrets.GITHUB_TOKEN }} auto-push: true # Show alert with commit comment on detecting possible performance regression