about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-09 14:11:39 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-13 09:45:20 +1100
commitaefbb616afdc71e3d9358ad12ce07d80cd6c3cfb (patch)
treee7f27f26164a92f918467820f7c5d312196a4da0 /compiler/rustc_driver_impl/src
parent2b603f95a48f10f931a61dd208fe3e5ffd64e491 (diff)
downloadrust-aefbb616afdc71e3d9358ad12ce07d80cd6c3cfb.tar.gz
rust-aefbb616afdc71e3d9358ad12ce07d80cd6c3cfb.zip
Remove `-Zperf-stats`.
The included measurements have varied over the years. At one point there
were quite a few more, but #49558 deleted a lot that were no longer
used. Today there's just four, and it's a motley collection that doesn't
seem particularly valuable.

I think it has been well and truly subsumed by self-profiling, which
collects way more data.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs
index 84ae45d6a2b..7905a0e3924 100644
--- a/compiler/rustc_driver_impl/src/lib.rs
+++ b/compiler/rustc_driver_impl/src/lib.rs
@@ -496,10 +496,6 @@ fn run_compiler(
             linker.link()?
         }
 
-        if sess.opts.unstable_opts.perf_stats {
-            sess.print_perf_stats();
-        }
-
         if sess.opts.unstable_opts.print_fuel.is_some() {
             eprintln!(
                 "Fuel used by {}: {}",