#4367: Compiler space regression in 7.0.1 RC 1
---------------------------------+------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.0.1
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Compile-time performance bug
---------------------------------+------------------------------------------
There's a compiler space regresion in 7.0.1 RC 1. Seems to be around a
factor of 2. Compiling WURFL-0.1
With a cut-down version, note the "<n>M in use":
{{{
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.3
$ ghc --make WURFL -O -dshow-passes +RTS -t
[...]
<<ghc: 908052456 bytes, 1592 GCs, 7050782/13011048 avg/max bytes residency
(15 samples), 31M in use, 0.00 INIT (0.00 elapsed), 1.11 MUT (1.28
elapsed), 0.91 GC (0.86 elapsed) :ghc>>
}}}
{{{
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.0.20100924
$ time ghc --make WURFL -O -dshow-passes +RTS
<<ghc: 973268040 bytes, 1699 GCs, 8225353/20188024 avg/max bytes residency
(13 samples), 52M in use, 0.00 INIT (0.00 elapsed), 1.33 MUT (1.41
elapsed), 0.87 GC (0.94 elapsed) :ghc>>
}}}
The `Result size`s look comparable between the two compilers, so the next
step is probably to try with a profiled compiler.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4367>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs