Skip to content

Commit

Permalink
fix more benchmark workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
keks committed Aug 27, 2024
1 parent 30af7dd commit 496c9d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mlkem-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rust-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 496c9d3

Please sign in to comment.