<div dir="ltr">Actually, I meant only with -fno-specialise.</div><div class="gmail_extra"><br><div class="gmail_quote">On 13 April 2015 at 21:09, Michal Terepeta <span dir="ltr"><<a href="mailto:michal.terepeta@gmail.com" target="_blank">michal.terepeta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Apr 13, 2015 at 12:20 PM, Christiaan Baaij<br>
<<a href="mailto:christiaan.baaij@gmail.com">christiaan.baaij@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I wonder if this might be in any way related to the HUGE amount of new terms/types/coercions created by the specialiser as documented in:<br>
> <a href="https://ghc.haskell.org/trac/ghc/ticket/9630#comment:10" target="_blank">https://ghc.haskell.org/trac/ghc/ticket/9630#comment:10</a><br>
><br>
> I don’t have a profiled version of GHC, so I was wondering if you could run your tests with a ‘-fno-specialise’, and see how everything performs then?<br>
><br>
> Cheers,<br>
><br>
> Christiaan<br>
<br>
</span>Unfortunately trac is timing out for me, so I'll have a look at the<br>
issues later...<br>
<br>
As for compiling haskell-src-exts with both -fno-specialise and -fno-call-arity,<br>
we're pretty much at the same level as GHC 7.8.4.<br>
<br>
<br>
<br>
Mon Apr 13 20:25 2015 Time and Allocation Profiling Report (Final)<br>
<br>
ghc +RTS -p -RTS [...] -fno-specialise -fno-call-arity<br>
<br>
total time = 89.93 secs (89928 ticks @ 1000 us, 1 processor)<br>
total alloc = 93,495,685,792 bytes (excludes profiling overheads)<br>
<span class=""><br>
COST CENTRE MODULE %time %alloc<br>
<br>
</span>SimplTopBinds SimplCore 38.7 38.6<br>
pprNativeCode AsmCodeGen 5.1 5.9<br>
StgCmm HscMain 3.7 3.3<br>
occAnalBind.assoc OccurAnal 3.2 3.6<br>
OccAnal SimplCore 3.2 3.6<br>
tc_rn_src_decls TcRnDriver 3.1 2.5<br>
RegAlloc AsmCodeGen 3.1 4.2<br>
regLiveness AsmCodeGen 3.0 3.5<br>
FloatOutwards SimplCore 2.7 2.4<br>
sink CmmPipeline 2.6 2.7<br>
Simplify SimplCore 2.5 0.1<br>
NewStranal SimplCore 1.9 2.3<br>
genMachCode AsmCodeGen 1.8 1.7<br>
layoutStack CmmPipeline 1.6 1.7<br>
NativeCodeGen CodeOutput 1.4 1.5<br>
FloatInwards SimplCore 1.2 1.6<br>
CoreTidy HscMain 1.2 1.2<br>
deSugar HscMain 1.2 1.2<br>
do_block Hoopl.Dataflow 1.1 0.7<br>
CorePrep HscMain 1.0 1.1<br>
versioninfo MkIface 0.9 1.0<br>
Parser HscMain 0.9 1.2<br>
Digraph.scc Digraph 0.9 1.5<br>
canEvVar TcCanonical 0.7 1.0<br>
</blockquote></div><br></div>