Skip to content

Update AsyncKeyedLock to 6.4.2. Performance difference not expected. #77

Update AsyncKeyedLock to 6.4.2. Performance difference not expected.

Update AsyncKeyedLock to 6.4.2. Performance difference not expected. #77

Workflow file for this run

name: AsyncKeyedLockBenchmarks
on:
push:
branches:
- master
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: Run AsyncKeyedLockBenchmarks benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: New global.json
run: dotnet new globaljson
working-directory: AsyncKeyedLockBenchmarks
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Run benchmark
run: dotnet run --framework net8.0 --configuration Release --exporters json --filter '*'
working-directory: AsyncKeyedLockBenchmarks
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: Benchmark.Net Benchmark
tool: 'benchmarkdotnet'
output-file-path: AsyncKeyedLockBenchmarks/BenchmarkDotNet.Artifacts/results/AsyncKeyedLockBenchmarks.Benchmarks-report-full-compressed.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '200%'
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: '@MarkCiliaVincenti'