mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
chore: 撤除 runner 与 bench 的 leak-check 死旗标及死参数
This commit is contained in:
@@ -31,7 +31,6 @@ pub struct BenchConfig {
|
||||
pub warmup: u32,
|
||||
pub iterations: u32,
|
||||
pub update_baseline: bool,
|
||||
pub leak_check_interval: usize,
|
||||
/// 指令周期采样周期(2 的幂,0 关闭):开启时测量迭代每 period 条指令
|
||||
/// 记一条样本,run 末按 flat_id 输出 top-K 直方图。
|
||||
pub sample_period: u64,
|
||||
|
||||
@@ -85,8 +85,6 @@ enum Commands {
|
||||
iterations: u32,
|
||||
#[arg(long)]
|
||||
update_baseline: bool,
|
||||
#[arg(long, default_value = "1000")]
|
||||
leak_check_interval: usize,
|
||||
/// 指令周期采样周期(2 的幂,0 关闭,默认关闭)。开启时测量迭代每
|
||||
/// period 条指令记一条样本,run 末按 flat_id 输出 top-K 直方图。
|
||||
#[arg(long, default_value = "0")]
|
||||
@@ -136,7 +134,6 @@ fn main() -> ExitCode {
|
||||
warmup,
|
||||
iterations,
|
||||
update_baseline,
|
||||
leak_check_interval,
|
||||
sample,
|
||||
sample_top,
|
||||
}) => {
|
||||
@@ -154,7 +151,6 @@ fn main() -> ExitCode {
|
||||
warmup,
|
||||
iterations,
|
||||
update_baseline,
|
||||
leak_check_interval,
|
||||
sample_period: sample,
|
||||
sample_top,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user