Skip to content

Update benchmark.yml #4

Update benchmark.yml

Update benchmark.yml #4

Workflow file for this run

name: Benchmark
on:
push:
branches:
- master
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: Run Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Run benchmark
run: cd Benchmark && dotnet run -c Release --exporters json --filter '*'
- name: Store benchmark results
uses: rhysd/github-action-benchmark@v1
with:
name: Benchmark.Net Benchmark
tool: 'benchmarkdotnet'
output-file-path: Benchmark/BenchmarkDotNet.Artifacts/results/Eliot.UELib.Benchmark.Benchmarks-report-full-compressed.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
alert-threshold: '200%'
comment-on-alert: true