Skip to content

Commit

Permalink
Change opt level in benchmarks script (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmilson authored May 19, 2024
1 parent fe3d099 commit 403c45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# 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 $@
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=3" cargo bench $@

0 comments on commit 403c45c

Please sign in to comment.