From 1d2dbafc81881d4c453aa2e4f81a55d9ccc82647 Mon Sep 17 00:00:00 2001 From: tjjfvi Date: Mon, 25 Mar 2024 13:38:09 -0400 Subject: [PATCH] fix bench script --- .github/workflows/bench.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 55e06ce9..5932c0d8 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -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