Skip to content

Commit

Permalink
Disable benchmark "test" by default
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkazik committed Dec 31, 2023
1 parent 8dc1a58 commit 5cfd295
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/benchmark.rs
Expand Up @@ -144,9 +144,10 @@ fn benchmark(total: usize) -> HashMap<&'static str, Duration> {
/// Run it like this from the command line:
///
/// ```text
/// $ cargo test --release benchmark_and_print -- --nocapture
/// $ cargo test --test benchmark -- --include-ignored --nocapture
/// ```
#[test]
#[ignore]
pub fn benchmark_and_print() {
let times = benchmark(
#[cfg(debug_assertions)]
Expand Down

0 comments on commit 5cfd295

Please sign in to comment.