Skip to content

Commit

Permalink
Fix Rust benchmark.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand authored and acarbonetto committed Sep 25, 2023
1 parent 1ed9d3c commit 7b94e52
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions benchmarks/rust/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ use stopwatch::Stopwatch;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
struct Args {
#[arg(name = "resultsFile", short, long)]
#[arg(name = "resultsFile", long)]
results_file: String,

#[arg(short, long)]
#[arg(long)]
host: String,

#[arg(name = "dataSize", short, long)]
#[arg(name = "dataSize", long)]
data_size: usize,

#[arg(name = "concurrentTasks", short, long)]
#[arg(name = "concurrentTasks", long)]
concurrent_tasks: Vec<usize>,

#[arg(name = "clientCount", short, long, default_value_t = 1)]
#[arg(name = "clientCount", long, default_value_t = 1)]
client_count: usize,

#[arg(short, long, default_value_t = false)]
#[arg(long, default_value_t = false)]
tls: bool,

#[arg(name = "clusterModeEnabled", short, long, default_value_t = false)]
#[arg(name = "clusterModeEnabled", long, default_value_t = false)]
cluster_mode_enabled: bool,

#[arg(name = "port", short, long, default_value_t = PORT)]
Expand Down

0 comments on commit 7b94e52

Please sign in to comment.