Files
turso/stress/opts.rs
Pekka Enberg be4014a1df Initial pass on Antithesis testing
This adds a "limbo_stress" tool for stress testing Limbo in
non-deterministic way together with support code to run the tests under
Antithesis (which makes them deterministic). The stress tester does not
really do anything useful yet, this is just a step to make sure we can
run tests under Antithesis.
2025-03-04 09:29:57 +02:00

17 lines
425 B
Rust

use clap::{command, Parser};
#[derive(Parser)]
#[command(name = "limbo_stress")]
#[command(author, version, about, long_about = None)]
pub struct Opts {
#[clap(short = 't', long, help = "the number of threads", default_value_t = 8)]
pub nr_threads: usize,
#[clap(
short = 'i',
long,
help = "the number of iterations",
default_value_t = 1000
)]
pub nr_iterations: usize,
}