pub(crate) async fn time_prof( merge_threads: bool, build_info: &'static BuildInfo, time_secs: u64, sample_freq: u32, ) -> impl IntoResponse + use<>