Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug derive to BenchCli #7

Merged
merged 1 commit into from
Apr 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ use crate::{
runner::{BenchOpts, BenchSuite, Runner},
};

#[derive(Parser, Clone, Copy)]
#[derive(Parser, Clone, Copy, Debug)]
#[allow(missing_docs)]
pub struct BenchCli {
/// Number of workers to run concurrently
Expand Down Expand Up @@ -164,7 +164,7 @@ impl BenchCli {
}

/// The type of iteration report collector.
#[derive(Copy, Clone, ValueEnum)]
#[derive(Copy, Clone, Debug, ValueEnum)]
pub enum Collector {
/// TUI based collector. See [`TuiCollector`].
Tui,
Expand All @@ -174,7 +174,7 @@ pub enum Collector {
}

/// Benchmark report format.
#[derive(Copy, Clone, ValueEnum)]
#[derive(Copy, Clone, Debug, ValueEnum)]
pub enum ReportFormat {
/// Report in plain text format. See [`TextReporter`].
Text,
Expand Down
Loading