Skip to content

Commit cd4f511

Browse files
authored
summarize disassembly for benchmarked PRs (#100)
* test * try again * try again * split * rename * path * try first * GITHUB_WORKSPACE * reorder
1 parent 6a4e883 commit cd4f511

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/benchpr.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
concurrency: benchmark_pr
88

99
jobs:
10-
build:
10+
bench:
1111

1212
runs-on: windows-latest
1313

@@ -21,8 +21,19 @@ jobs:
2121
run: dotnet restore
2222
- name: Build
2323
run: dotnet build --configuration Release --no-restore
24+
- name: Clone splitasm repo
25+
uses: actions/checkout@v2
26+
with:
27+
repository: bitfaster/splitasm
28+
path: splitasm
29+
ref: ''
30+
- name: Build split asm
31+
run: dotnet build splitasm --configuration Release
2432
- name: Benchmark
2533
run: dotnet run --project "BitFaster.Caching.Benchmarks" -f net6.0 -c Release --filter *Lru*
34+
- name: Post process disassembly
35+
run: splitasm\splitasm\bin\Release\net6.0\splitasm.exe %GITHUB_WORKSPACE%\BenchmarkDotNet.Artifacts\results
36+
shell: cmd
2637
- name: Publish Results
2738
uses: actions/upload-artifact@v1
2839
with:

0 commit comments

Comments
 (0)