Re: [GHC] #5996: fix for CSE

#5996: fix for CSE
---------------------------------+------------------------------------------
Reporter: michalt | Owner: simonpj
Type: bug | Status: patch
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.5
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Runtime performance bug
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by igloo):
I get very different nofib (mode=slow) results to you, using recent HEAD:
{{{
--------------------------------------------------------------------------------
Program Size Allocs Runtime Elapsed TotalMem
--------------------------------------------------------------------------------
[...]
ansi -1.1% +9.4% +10.1% +10.1% +0.0%
[...]
compress -0.5% -0.0% 0.10 0.10 -33.3%
[...]
Min -2.2% -1.3% -6.6% -7.1% -33.3%
Max -0.4% +9.4% +10.1% +10.1% +1.7%
Geometric Mean -0.6% +0.1% +0.5% +0.5% -0.4%
}}}
I took a look at the ansi test. `Main.hs` is a boiled down version of it.
Compiling with
{{{
ghc -O2 -rtsopts --make Main -fforce-recomp
}}}
and running with
{{{
time ./Main 1400 +RTS -t < /dev/null > out
}}}
I get
{{{
<
participants (1)
-
GHC