Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed May 23, 2024
1 parent 9ee5c3b commit e98c992
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,17 @@ jobs:
key: ${{ runner.os }}-bench-0.1.4-${{ hashFiles('**/Cargo.lock') }}
- name: Install canbench
run: cargo install canbench
- name: Run perf for base branch
run: |
pushd main/rust/bench
canbench --persist
popd
cp main/rust/bench/canbench_results.yml rust/bench/
# - name: Run perf for base branch
# run: |
# pushd main/rust/bench
# canbench --persist
# popd
# cp main/rust/bench/canbench_results.yml rust/bench/
- name: Run perf for PR beanch
run: |
pushd rust/bench
canbench --less-verbose --persist > /tmp/perf.txt
#canbench --less-verbose --persist > /tmp/perf.txt
canbench --persist
python diff.py canbench_results.yml ../../main/rust/bench/canbench_results.yml > /tmp/table.md
{
cat /tmp/table.md
Expand Down

0 comments on commit e98c992

Please sign in to comment.