[Haskell-cafe] Profiling analyzing ghc compilation
rae at richarde.dev
Thu Feb 18 19:26:34 UTC 2021
Having seen this before, I knew there had to be a compiler option for this... and checking the Debugging the Compiler section of the manual surfaces -dshow-passes, which should do exactly what you're asking for.
I hope this helps!
> On Feb 18, 2021, at 10:53 AM, Martin Heuschober <epsilonhalbe at gmail.com> wrote:
> Is there a way to profile (time/space) GHC compilation itself, I'd be interested in what compilation steps in compiling my project take long and how much RAM it uses/why it uses so much RAM, so I can identify what to rewrite, remove, and split to get a leaner build.
> PS.: I hope this is the right place to ask this.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe