From 9dfb2ab4d0d391bd4285d67238d6ddeae15f25f1 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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 55e06ce9..4f59cebd 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -23,9 +23,15 @@ 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 + ls ../hvm-core + 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