Always use the same seed for benchmarking
It would be preferable to switch to a different generator, or at least set the seed within the benchmark, but this is the most straightforward way to make things simple.
This commit is contained in:
parent
e1749bdb6d
commit
2912076e50
1 changed files with 5 additions and 1 deletions
|
|
@ -156,7 +156,11 @@ jobs:
|
|||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Download musl source
|
||||
run: ./ci/download-musl.sh
|
||||
- run: cargo bench --all --features libm-test/short-benchmarks,libm-test/build-musl
|
||||
- run: |
|
||||
# Always use the same seed for benchmarks. Ideally we should switch to a
|
||||
# non-random generator.
|
||||
export LIBM_SEED=benchesbenchesbenchesbencheswoo!
|
||||
cargo bench --all --features libm-test/short-benchmarks,libm-test/build-musl
|
||||
|
||||
msrv:
|
||||
name: Check MSRV
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue