[Haskell-cafe] Getting a breakdown of time spend in compile phases
Simon Jakobi
simon.jakobi at googlemail.com
Sat Sep 3 21:08:41 UTC 2022
You may find more help with debugging GHC on the ghc-devs mailing list:
https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Am Sa., 3. Sept. 2022 um 22:57 Uhr schrieb rowan goemans <
goemansrowan at gmail.com>:
> 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>
> <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.
>>
>
> _______________________________________________
> 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/1b3dbb36/attachment.html>
More information about the Haskell-Cafe
mailing list