1
Fork 0

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.
This commit is contained in:
Nicholas Nethercote 2023-11-09 14:11:39 +11:00
parent 2b603f95a4
commit aefbb616af
8 changed files with 29 additions and 97 deletions

View file

@ -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 {}: {}",