diff --git a/.github/workflows/benchmark-action.yml b/.github/workflows/benchmark-action.yml index 7a80383a9..f777f9e55 100644 --- a/.github/workflows/benchmark-action.yml +++ b/.github/workflows/benchmark-action.yml @@ -19,12 +19,13 @@ jobs: AzureAd__ClientCredentials__0__SourceType: "ClientSecret" AzureAd__ClientCredentials__0__ClientSecret: ${{secrets.ClientSecret}} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.x' + dotnet-version: '9.x' - name: Run benchmark - run: cd benchmark && dotnet run -c release -f net8.0 --filter 'Benchmarks.TokenAcquisitionBenchmark.*' --exporters json + run: cd benchmark && dotnet run -c release -f net9.0 --filter 'Benchmarks.TokenAcquisitionBenchmark.*' --exporters json - name: Download previous benchmark data uses: actions/cache@v4 @@ -40,10 +41,11 @@ jobs: 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 - alert-threshold: '130%' - comment-on-alert: true - fail-on-alert: true - summary-always: true - gh-pages-branch: gh-pages + alert-threshold: '130%' + comment-on-alert: true + + benchmark-data-dir-path: benchmarks + gh-pages-branch: gh-pages + benchmark-data-dir-path: benchmarks + benchmark-data-dir-path: benchmarks benchmark-data-dir-path: benchmarks diff --git a/benchmark/Directory.Build.props b/benchmark/Directory.Build.props index 2966aa1d9..2e4fafb1a 100644 --- a/benchmark/Directory.Build.props +++ b/benchmark/Directory.Build.props @@ -2,12 +2,11 @@ false - net8.0 + net9.0 false false - True - True - $(MSBuildThisFileDirectory)..\build\msal.snk + False + False enable enable