Skip to content

Commit eaf76c0

Browse files
committed
Include other benchmarks
1 parent 048ec8d commit eaf76c0

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

.github/workflows/benchmark.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Store temporal benchmark result
3535
uses: rhysd/github-action-benchmark@v1
3636
with:
37-
name: Benchmark.Net Benchmark
37+
name: Temporal Type benchmark
3838
tool: 'benchmarkdotnet'
3939
output-file-path: tests/DynamoDBGenerator.SourceGenerator.Benchmarks/BenchmarkDotNet.Artifacts/results/DynamoDBGenerator.SourceGenerator.Benchmarks.Benchmarks.Marshalling.TemporalBenchmarks-report-full-compressed.json
4040
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -44,3 +44,31 @@ jobs:
4444
comment-on-alert: true
4545
fail-on-alert: true
4646
alert-comment-cc-users: '@inputfalken'
47+
48+
- name: Store primitive benchmark result
49+
uses: rhysd/github-action-benchmark@v1
50+
with:
51+
name: Primitive Type benchmark
52+
tool: 'benchmarkdotnet'
53+
output-file-path: tests/DynamoDBGenerator.SourceGenerator.Benchmarks/BenchmarkDotNet.Artifacts/results/DynamoDBGenerator.SourceGenerator.Benchmarks.Benchmarks.Marshalling.PrimitiveBenchmarks-report-full-compressed.json
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
auto-push: true
56+
# Show alert with commit comment on detecting possible performance regression
57+
alert-threshold: '200%'
58+
comment-on-alert: true
59+
fail-on-alert: true
60+
alert-comment-cc-users: '@inputfalken'
61+
62+
- name: Store collection benchmark result
63+
uses: rhysd/github-action-benchmark@v1
64+
with:
65+
name: Collection Type benchmark
66+
tool: 'benchmarkdotnet'
67+
output-file-path: tests/DynamoDBGenerator.SourceGenerator.Benchmarks/BenchmarkDotNet.Artifacts/results/DynamoDBGenerator.SourceGenerator.Benchmarks.Benchmarks.Marshalling.CollectionBenchmarks-report-full-compressed.json
68+
github-token: ${{ secrets.GITHUB_TOKEN }}
69+
auto-push: true
70+
# Show alert with commit comment on detecting possible performance regression
71+
alert-threshold: '200%'
72+
comment-on-alert: true
73+
fail-on-alert: true
74+
alert-comment-cc-users: '@inputfalken'

0 commit comments

Comments
 (0)