[Haskell-cafe] Getting a breakdown of time spend in compile phases
rowan goemans
goemansrowan at gmail.com
Sat Sep 3 20:56:42 UTC 2022
Hi Hécate,
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.
Best regards,
Rowan Goemans
On 9/3/22 20:21, Hécate wrote:
> Hi Rowan,
>
> I had a nice experience using
> https://github.com/codedownio/time-ghc-modules. Do tell us if this
> fits your needs. :)
>
> Cheers,
> Hécate
>
> Le 3 septembre 2022 16:31:35 rowan goemans <goemansrowan at gmail.com> a
> écrit :
>
>> Dear Cafe,
>>
>> I have a Haskell Project where I have a module that quite heavily makes
>> use of constraints and takes ages to compile per module. It also uses
>> some type checker plugins but I'm unsure if they are causing the
>> slowness. So what I would like to see is a breakdown of how much time
>> GHC is spending on compilation of a module. Does something like this
>> exist?
>>
>> Best regards,
>>
>> Rowan Goemans
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> Only members subscribed via the mailman list are allowed to post.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20220903/c3916522/attachment.html>
More information about the Haskell-Cafe
mailing list