
Thanks Gael.
As you may know, we’ve focused a lot on compile time in the last year or so, and 8.4 is a lot faster. I think there are still plenty of bad cases, but things are better.
Our compile-time perf page is here: https://ghc.haskell.org/trac/ghc/wiki/Performance/Compiler
It links to a list of open perf tickets: https://ghc.haskell.org/trac/ghc/query?status=!closed&failure=Compile-time+performance+bug
What helps above all are reproducible test cases. Package X compiles much more slowly with 8.2 than with 7.10, say. You did exactly that, thank you – can you open a ticket explaining exactly how to reproduce it, and what measurements you took. (Matthew’s numbers seemed two orders of magnitude different; I wonder why?)
Another thing that is really helpful is people who characterise what the problem is:
* Is GHC generating a lot more code? -dshow-passes can reveal this.
* Is it GHC at all, or is it link-times, or some other part of the tool chain?
* If it is GHC, and the output of compilation is no bigger than before, where is the time going? -dshow-passes gives a rough idea of that too.
* Is there a particular characteristic of the program that seems to trigger the poor behaviour? Can you accentuate that characteristic to make it behave wildly badly?
Everyone: GHC is your compiler! We need your help.
Simon
From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of Deest, Gaël
Sent: 04 July 2017 08:17
To: ghc-devs@haskell.org
Cc: Manuel Chakravarty