minor tweaks and proof-reading.
Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
parent
451179fd49
commit
d53f770d90
|
@ -530,7 +530,7 @@ pub struct Benchmark {
|
||||||
unsafe impl Send for Benchmark {}
|
unsafe impl Send for Benchmark {}
|
||||||
|
|
||||||
impl Benchmark {
|
impl Benchmark {
|
||||||
pub const DEFAULT_MAX_SIZE: usize = 10;
|
pub const DEFAULT_MAX_SIZE: usize = 30;
|
||||||
|
|
||||||
pub fn run(
|
pub fn run(
|
||||||
self,
|
self,
|
||||||
|
|
|
@ -11,7 +11,7 @@ authors = [
|
||||||
"Kasey White <kwhitemsg@gmail.com>",
|
"Kasey White <kwhitemsg@gmail.com>",
|
||||||
"KtorZ <matthias.benkort@gmail.com>",
|
"KtorZ <matthias.benkort@gmail.com>",
|
||||||
]
|
]
|
||||||
rust-version = "1.70.0"
|
rust-version = "1.80.0"
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct Args {
|
||||||
/// Path to project
|
/// Path to project
|
||||||
directory: Option<PathBuf>,
|
directory: Option<PathBuf>,
|
||||||
|
|
||||||
/// An initial seed to initialize the pseudo-random generator for property-tests.
|
/// An initial seed to initialize the pseudo-random generator for benchmarks.
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
seed: Option<u32>,
|
seed: Option<u32>,
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ pub struct Args {
|
||||||
/// Only run benchmarks if they match any of these strings.
|
/// Only run benchmarks if they match any of these strings.
|
||||||
///
|
///
|
||||||
/// You can match a module with `-m aiken/list` or `-m list`.
|
/// You can match a module with `-m aiken/list` or `-m list`.
|
||||||
/// You can match a test with `-m "aiken/list.{map}"` or `-m "aiken/option.{flatten_1}"`
|
/// You can match a benchmark with `-m "aiken/list.{map}"` or `-m "aiken/option.{flatten_1}"`
|
||||||
#[clap(short, long)]
|
#[clap(short, long)]
|
||||||
match_benchmarks: Option<Vec<String>>,
|
match_benchmarks: Option<Vec<String>>,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue