mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 19:51:11 +08:00
refactor: 移除 bench 未被任何模式读取的 --process 死参数
This commit is contained in:
@@ -26,7 +26,6 @@ pub struct BenchConfig {
|
|||||||
pub filter: Option<String>,
|
pub filter: Option<String>,
|
||||||
pub warmup: u32,
|
pub warmup: u32,
|
||||||
pub iterations: u32,
|
pub iterations: u32,
|
||||||
pub process: bool,
|
|
||||||
pub update_baseline: bool,
|
pub update_baseline: bool,
|
||||||
pub leak_check_interval: usize,
|
pub leak_check_interval: usize,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ enum Commands {
|
|||||||
#[arg(long, default_value = "10")]
|
#[arg(long, default_value = "10")]
|
||||||
iterations: u32,
|
iterations: u32,
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
process: bool,
|
|
||||||
#[arg(long)]
|
|
||||||
update_baseline: bool,
|
update_baseline: bool,
|
||||||
#[arg(long, default_value = "1000")]
|
#[arg(long, default_value = "1000")]
|
||||||
leak_check_interval: usize,
|
leak_check_interval: usize,
|
||||||
@@ -124,7 +122,6 @@ fn main() -> ExitCode {
|
|||||||
filter,
|
filter,
|
||||||
warmup,
|
warmup,
|
||||||
iterations,
|
iterations,
|
||||||
process,
|
|
||||||
update_baseline,
|
update_baseline,
|
||||||
leak_check_interval,
|
leak_check_interval,
|
||||||
}) => {
|
}) => {
|
||||||
@@ -135,7 +132,6 @@ fn main() -> ExitCode {
|
|||||||
filter,
|
filter,
|
||||||
warmup,
|
warmup,
|
||||||
iterations,
|
iterations,
|
||||||
process,
|
|
||||||
update_baseline,
|
update_baseline,
|
||||||
leak_check_interval,
|
leak_check_interval,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user