Skip to content

Commit

Permalink
fix bench script
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed Mar 25, 2024
1 parent ce9ee5c commit 84d3c22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:
key: ${{ runner.os }}-check-${{ hashFiles('**/Cargo.lock') }}
- name: compare perf
run: |
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 84d3c22

Please sign in to comment.