diff --git a/.github/workflows/mlkem-bench.yml b/.github/workflows/mlkem-bench.yml index a6bf66508..5f049aaca 100644 --- a/.github/workflows/mlkem-bench.yml +++ b/.github/workflows/mlkem-bench.yml @@ -89,8 +89,8 @@ jobs: run: | cargo clean LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo bench --verbose $RUST_TARGET_FLAG -- --output-format bencher | sed 's/^test \(.*\) \.\.\. bench/test portable \1 ... bench/' | tee -a bench.txt - - name: Clear Cargo.toml so it doesn't interfere with git - run: git checkout Cargo.toml + - name: Clear Cargo.lock so it doesn't interfere with git + run: git checkout Cargo.lock - name: Store benchmarks uses: benchmark-action/github-action-benchmark@v1 with: diff --git a/.github/workflows/rust-bench.yml b/.github/workflows/rust-bench.yml index 20644290d..787026950 100644 --- a/.github/workflows/rust-bench.yml +++ b/.github/workflows/rust-bench.yml @@ -88,10 +88,12 @@ jobs: - name: 🏃🏻‍♀️ Benchmarks run: cargo bench --verbose $RUST_TARGET_FLAG -p benchmarks -- --output-format bencher | tee bench.txt + - name: Clear Cargo.lock so it doesn't interfere with git + run: git checkout Cargo.lock - name: Store Benchmarks uses: benchmark-action/github-action-benchmark@v1 with: - name: ML-KEM Benchmark + name: Rust Benchmark tool: 'cargo' output-file-path: bench.txt github-token: ${{ secrets.GITHUB_TOKEN }}