#3664: Ghc eats tremendous heaps of RAM in -prof build (highlighting-kate)
-------------------------------------------+--------------------------------
  Reporter:  slyfox                        |          Owner:                
      Type:  bug                           |         Status:  new           
  Priority:  normal                        |      Milestone:  6.12 branch   
 Component:  Compiler                      |        Version:  6.12.1 RC1    
Resolution:                                |       Keywords:                
Difficulty:                                |             Os:  Linux         
  Testcase:                                |   Architecture:  x86_64 (amd64)
   Failure:  Compile-time performance bug  |  
-------------------------------------------+--------------------------------
Comment (by igloo):

 Replying to [comment:3 slyfox]:
 > Replying to [comment:2 igloo]:
 >
 > > That PHP module includes a couple of 50000 character lines, mostly
 composed of a list of strings. I suspect that's the problem, but haven't
 profiled at all.
 > >
 > > It would be useful if someone could make a standalone, minimal
 testcase.
 > What is minimal? Will be enough to strip this package to 3 almost
 unmodified .hs files but leave all external deps, like parsec and pcre-
 light, or you would like it fully buildable with ghc --make ?

 Eliminating external deps is the most important thing, as that makes it
 much easier to try in a development compiler, or to compare 2 compilers.

 Apart from that, just making it as small as possible means that it is
 quicker to build, easier to see what is going on (in terms of both the
 source code, and the compiler debugging output), and makes it easy to add
 a regression test to the testsuite.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3664#comment:5>
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

Reply via email to