[Haskell-cafe] Profiling analyzing ghc compilation
Benjamin Maurer
maurer.benjamin at gmail.com
Fri Mar 5 16:01:02 UTC 2021
There is also `|-ddump-timings|
<https://downloads.haskell.org/~ghc/9.0.1/docs/html/users_guide/debugging.html#ghc-flag--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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20210305/c735af66/attachment.html>
More information about the Haskell-Cafe
mailing list