[Haskell-cafe] 7.10.2 : Compilation slowdown.

Carter Schonwald carter.schonwald at gmail.com
Wed Sep 30 13:47:16 UTC 2015


Have you checked how changing the optimization level affects build times?
Are you using template Haskell?

On Tuesday, September 29, 2015, aditya siram <aditya.siram at gmail.com> wrote:

> Hi all,
> Since upgrading to 7.10.2 from 7.8.4 I'm seeing a significant increase in
> compilation time. I understand this is a known issue but since I'm seeing
> something like a 3x slowdown but not across the board, I thought I'd ask.
>
> Compilation time for the library I'm writing has remained about the same.
> I am seeing the slowdown when compiling executables that use the library.
> There are no other dependencies except base so I'm guessing it something in
> my library causing the issue.
>
> I lean heavily on the FFI, OverlappingInstances and HList style
> programming in my library which leads me to believe that one of these is
> causing it. I am seeing no difference in compilation speeds by adding the
> per instance OVERLAPPING pragmas.
>
> Can anyone advise or instruct me on how to profile the compiler?
>
> Thanks!
> -deech
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150930/89e9de02/attachment.html>


More information about the Haskell-Cafe mailing list