Delete query stats

These statistics are computable from the self-profile data and/or ad-hoc
collectable as needed, and in the meantime contribute to rustc bootstrap times.
This commit is contained in:
Mark Rousskov 2022-02-06 21:28:34 -05:00
parent 88fb06a1f3
commit 257839bd88
5 changed files with 0 additions and 122 deletions

View file

@ -403,10 +403,6 @@ impl Compiler {
gcx.enter(rustc_query_impl::alloc_self_profile_query_strings);
}
if self.session().opts.debugging_opts.query_stats {
gcx.enter(rustc_query_impl::print_stats);
}
self.session()
.time("serialize_dep_graph", || gcx.enter(rustc_incremental::save_dep_graph));
}

View file

@ -684,7 +684,6 @@ fn test_debugging_options_tracking_hash() {
untracked!(print_type_sizes, true);
untracked!(proc_macro_backtrace, true);
untracked!(query_dep_graph, true);
untracked!(query_stats, true);
untracked!(save_analysis, true);
untracked!(self_profile, SwitchWithOptPath::Enabled(None));
untracked!(self_profile_events, Some(vec![String::new()]));