Skip to content

Commit

Permalink
Do not try to benchmark normal test cases
Browse files Browse the repository at this point in the history
Currently running cargo bench -- --save-baseline master doesn't work,
for the reasons outlined in [1].

Apply the fix in the comment ([2]) to not try to load the normal tests
during benchmarking.

[1]: bheisler/criterion.rs#193
[2]: bheisler/criterion.rs#193 (comment)
  • Loading branch information
TobiasBengtsson committed Nov 19, 2023
1 parent 428b222 commit 6cd7a0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ crc24 = "0.1.6"
[dev-dependencies]
criterion = "0.5"

[lib]
bench = false

[[bench]]
name = "fast_vs_fallback"
harness = false

0 comments on commit 6cd7a0c

Please sign in to comment.