From aa58a6dd7932ef13b3a10271c8447cc1d1648fa6 Mon Sep 17 00:00:00 2001 From: T6 Date: Mon, 25 Mar 2024 14:13:50 -0400 Subject: [PATCH] fix bench workflow (#101) --- .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..9481b791 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: | + 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