pub fn set_spike_threshold(threshold: Duration)
Duration::MAX disables the spike warning.
Duration::MAX