Skip to content

Commit

Permalink
benchmark script (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
spapinistarkware authored Feb 26, 2024
1 parent ddae150 commit 3a7c108
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/bench.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# Can be used as a drop in replacement for `cargo bench`.
# For example, `./scripts/bench.sh` will run all benchmarks.
# or `./scripts/bench.sh M31` will run only the M31 benchmarks.
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=2" cargo bench "$@"

0 comments on commit 3a7c108

Please sign in to comment.