-
Notifications
You must be signed in to change notification settings - Fork 65
27 lines (26 loc) · 1.13 KB
/
Benchmark.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Benchmark
on: [push, pull_request]
jobs:
Rendering:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.401
- run: dotnet run -p CSharpMath.Rendering.Benchmarks
- name: Store benchmark result
uses: Happypig375/github-action-benchmark@v1
with:
name: CSharpMath.Rendering.Benchmarks
tool: 'benchmarkdotnet'
output-file-path: .benchmarkresults/results/CSharpMath.Rendering.Benchmarks.Program-report-full-compressed.json
github-token: ${{ github.token }}
auto-push: ${{ github.ref == 'refs/heads/master' }} # Push and deploy GitHub pages branch automatically
alert-threshold: 155% # Should not be lower than 155% to take account of fluctuations of CI load, see https://github.com/verybadcat/CSharpMath/pull/156#commitcomment-42067078
comment-on-alert: true # Show alert with commit comment on detecting possible performance regression
fail-on-alert: true
alert-comment-cc-users: '@Happypig375'