diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-06 21:28:34 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-06 21:35:00 -0500 |
| commit | 257839bd88a42f9f4b117289f37cf2bc3c535cb8 (patch) | |
| tree | 1a0aa0e40382730f8a3e3d34dae6a4dc22639a3a /compiler/rustc_interface | |
| parent | 88fb06a1f331926bccb448acdb52966fd1ec8a92 (diff) | |
| download | rust-257839bd88a42f9f4b117289f37cf2bc3c535cb8.tar.gz rust-257839bd88a42f9f4b117289f37cf2bc3c535cb8.zip | |
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.
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/src/queries.rs | 4 | ||||
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_interface/src/queries.rs b/compiler/rustc_interface/src/queries.rs index e635ee1e0ec..6441f2d54a1 100644 --- a/compiler/rustc_interface/src/queries.rs +++ b/compiler/rustc_interface/src/queries.rs @@ -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)); } diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 5e288187756..b2e7858fcb0 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -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()])); |
