<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-cite-prefix">On 9/3/22 20:21, Hécate wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1830495be50.278a.00f17733d2c9eabc5e044ce8e37597ac@glitchbra.in">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true" class="moz-txt-link-freetext">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="aqm-original" style="color: black;">
<div dir="auto">Le 3 septembre 2022 16:31:35 rowan goemans
<a class="moz-txt-link-rfc2396E" href="mailto:goemansrowan@gmail.com"><goemansrowan@gmail.com></a> a écrit :</div>
<div><br>
</div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0
0 0.75ex; border-left: 1px solid #808080; 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 class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe">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>
</body>
</html>