audio-dsp test: DIAG for the slow effects of the extreme-settings tail

This commit is contained in:
aiongg
2026-11-24 22:34:17 +00:00
parent a5409599a0
commit 5742ac10df
+4
View File
@@ -291,6 +291,7 @@ mod tests {
std::thread::scope(|scope| {
for e in crate::testutil::sampled_effects() {
scope.spawn(move || {
let started = std::time::Instant::now();
for setting in [0.0f32, 1.0] {
let mut fx = (e.create)(SR, 2);
for p in e.params {
@@ -318,6 +319,9 @@ mod tests {
);
}
}
if started.elapsed() > std::time::Duration::from_secs(1) {
eprintln!("DIAG extreme settings: {} took {:?}", e.id, started.elapsed());
}
});
}
});