From 5742ac10df178ecb6fa75d5960116c44a658bf8f Mon Sep 17 00:00:00 2001 From: aiongg Date: Tue, 24 Nov 2026 22:34:17 +0000 Subject: [PATCH] audio-dsp test: DIAG for the slow effects of the extreme-settings tail --- crates/audio-dsp/src/effects.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/audio-dsp/src/effects.rs b/crates/audio-dsp/src/effects.rs index 862ee0f46..679b7c5f9 100644 --- a/crates/audio-dsp/src/effects.rs +++ b/crates/audio-dsp/src/effects.rs @@ -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()); + } }); } });