chore: 撤除 runner 与 bench 的 leak-check 死旗标及死参数

This commit is contained in:
2026-10-05 09:22:59 +00:00
parent ad5c0a747a
commit 88107f45c5
5 changed files with 31 additions and 47 deletions
-1
View File
@@ -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,
-4
View File
@@ -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,
};