There is also `-ddump-timings` (see https://downloads.haskell.org/~ghc/9.0.1/docs/html/users_guide/flags.html#compiler-debugging-options), which seems to print a subset of what `-dshow-passes` prints?

If I ever have time, I'd love to make something like Clang's `time-trace` functionality, i.e., printing per-file pass timings in Chrome tracing profiling format, so that one can get pretty flame graphs. (https://aras-p.info/blog/2019/01/16/time-trace-timeline-flame-chart-profiler-for-Clang/)
The data already seems to be there. Maybe someone else gets to it before me =)

Cheers,
Ben