Skip to content

Commit

Permalink
fix: use unique artifacts json depending on target
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Sep 13, 2024
1 parent 885b124 commit 98d0214
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ jobs:
--zkvyper './target-zkvyper/release/zkvyper' \
--path=${{ inputs.compiler_llvm_benchmark_path || '' }} \
--mode="${MODE}" \
--benchmark=${{ matrix.type }}.json
--benchmark=${{ matrix.type }}${{ inputs.target-machine }}.json
- uses: actions/upload-artifact@v4
if: always()
with:
name: compiler-llvm-${{ matrix.type }}-benchmark-${{ inputs.target-machine }}
path: ${{ matrix.type }}.json
path: ${{ matrix.type }}${{ inputs.target-machine }}.json

analysis:
name: "Benchmark comparison"
Expand All @@ -205,7 +205,9 @@ jobs:
- name: Comparing the LLVM framework benchmark results
run: |
cargo run --release --bin benchmark-analyzer -- \
--reference reference.json --candidate candidate.json --output-file result.txt
--reference reference${{ inputs.target-machine }}.json \
--candidate candidate${{ inputs.target-machine }}.json \
--output-file result.txt
- name: Posting the LLVM benchmark results to the summary
run: |
Expand Down

0 comments on commit 98d0214

Please sign in to comment.