<div dir="ltr">You may find more help with debugging GHC on the ghc-devs mailing list: <a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Sa., 3. Sept. 2022 um 22:57 Uhr schrieb rowan goemans <<a href="mailto:goemansrowan@gmail.com">goemansrowan@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Hécate,</p>
<p>Thank you this helps a lot. I now at least have confirmed my
suspicion that it's the type checker. It spends a whopping 50
seconds in there for a module not even 300 lines of code. Is there
someway to analyze the type checker specifically? I know there is
tc-trace but that doesn't really tell me what is taking long.</p>
<p>Best regards,</p>
<p>Rowan Goemans<br>
</p>
<div>On 9/3/22 20:21, Hécate wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">Hi Rowan,</div>
<div dir="auto"><br>
</div>
<div dir="auto">I had a nice experience using <a href="https://github.com/codedownio/time-ghc-modules" target="_blank">https://github.com/codedownio/time-ghc-modules</a>.
Do tell us if this fits your needs. :)</div>
<div dir="auto"><br>
</div>
<div dir="auto">Cheers,</div>
<div dir="auto">Hécate</div>
<div dir="auto"><br>
</div>
<div id="m_-2919496028762546265aqm-original" style="color:black">
<div dir="auto">Le 3 septembre 2022 16:31:35 rowan goemans
<a href="mailto:goemansrowan@gmail.com" target="_blank"><goemansrowan@gmail.com></a> a écrit :</div>
<div><br>
</div>
<blockquote type="cite" class="gmail_quote" style="margin:0px 0px 0px 0.75ex;border-left:1px solid rgb(128,128,128);padding-left:0.75ex">
<div dir="auto">Dear Cafe,</div>
<div dir="auto"><br>
</div>
<div dir="auto">I have a Haskell Project where I have a
module that quite heavily makes </div>
<div dir="auto">use of constraints and takes ages to compile
per module. It also uses </div>
<div dir="auto">some type checker plugins but I'm unsure if
they are causing the </div>
<div dir="auto">slowness. So what I would like to see is a
breakdown of how much time </div>
<div dir="auto">GHC is spending on compilation of a module.
Does something like this exist?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best regards,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Rowan Goemans</div>
<div dir="auto"><br>
</div>
<div dir="auto">_______________________________________________</div>
<div dir="auto">Haskell-Cafe mailing list</div>
<div dir="auto">To (un)subscribe, modify options or view
archives go to:</div>
<div dir="auto"><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a></div>
<div dir="auto">Only members subscribed via the mailman list
are allowed to post.</div>
</blockquote>
</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>