Skip to content

Commit

Permalink
Fix branch becnhmarks path
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Oct 6, 2023
1 parent 3473f8e commit a9f6d69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ jobs:
cargo bench --bench generic --bench special -- --save-baseline $NORMALIZED_BRANCH_NAME
cargo run --bin summarize pack $NORMALIZED_BRANCH_NAME
mkdir criterion-results
cp target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/
cp target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/$GITHUB_SHA.json
cp ../../target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/
cp ../../target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/$GITHUB_SHA.json
# TODO: can we optionally download if it only might fail?
#- name: PR; download bench results for compare
Expand All @@ -106,7 +106,7 @@ jobs:
cargo bench --bench generic --bench special -- --save-baseline branch '(special|stdb_module|stdb_raw)'
cargo run --bin summarize pack branch
mkdir criterion-results
cp target/criterion/branch.json criterion-results/pr-$PR_NUMBER.json
cp ../../target/criterion/branch.json criterion-results/pr-$PR_NUMBER.json
- name: PR; compare benchmarks
if: github.event.inputs.pr_number
Expand Down

0 comments on commit a9f6d69

Please sign in to comment.