Perf/faster analysis #2
Reference in New Issue
Block a user
Delete Branch "perf/faster-analysis"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LUFS integrated + LRA: - Reimplement BS.1770 two-stage gating (integrated) and EBU 3342 (LRA) directly from the cached K-weighted signal, dropping pyloudnorm's two whole-signal re-filters. Validated bit-equal to pyloudnorm across steady/dynamic/quiet signals (0.0000 diff). LUFS compute ~1.9s -> ~0.6s (orig 3.8s). pyloudnorm now only supplies the filter coefficients. Prefetch on load: - After a file loads, PrefetchWorker computes the remaining metrics in the background (sequential, cooperatively cancellable, skips on-demand hits), so the first switch to any metric is instant. Superseded when a new file loads. Status slip: - Workers measure compute time; metricTiming + phase/duration progress messages drive the slip ("Loaded in Ns - computing X...", "X computed in Ys"). The old fake percentage (10% then done) is logged but no longer shown. - shutdown() stops background threads on window close. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>