Skip to content

Commit

Permalink
fix bench workflow (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi authored Mar 25, 2024
1 parent ce9ee5c commit aa58a6d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ jobs:
key: ${{ runner.os }}-check-${{ hashFiles('**/Cargo.lock') }}
- name: compare perf
run: |
git fetch origin main
cd ..
git clone https://github.com/higherorderco/hvm-compare-perf
cd hvm-compare-perf
NO_COLOR=1 cargo run bench -r main -r ${{ github.sha }} -m intr-singl -m intr-multi > ../table
NO_COLOR=1 cargo run bench \
--core ../hvm-core \
-r main -r ${{ github.sha }} \
-m intr-singl -m intr-multi \
> ../hvm-core/table
- name: write comment
run: |
echo 'Perf run for [`'`git rev-parse --short ${{ github.sha }}`'`](https://github.com/higherorderco/hvm-core/commit/${{ github.sha }}):' >> comment
Expand Down

0 comments on commit aa58a6d

Please sign in to comment.