[GHC] #3016: Long compile times, large memory use with static data in 6.10

GHC trac at galois.com
Sat Apr 4 08:22:16 EDT 2009


#3016: Long compile times, large memory use with static data in 6.10
-----------------------------------------------+----------------------------
    Reporter:  dons                            |        Owner:  igloo           
        Type:  bug                             |       Status:  new             
    Priority:  normal                          |    Milestone:                  
   Component:  Compiler                        |      Version:  6.10.1          
    Severity:  normal                          |   Resolution:                  
    Keywords:  static data                     |   Difficulty:  Unknown         
    Testcase:  simplCore/should_compile/T3016  |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple                |  
-----------------------------------------------+----------------------------
Comment (by igloo):

 There might be more to look at here. I've attached `h.png`, a heap profile
 with only the first 56 lines of the `largeConsts` list. Nothing jumps out
 from the profiling data:
 {{{
 unSM                           SimplMonad             7.3    0.0
 thenSmpl                       SimplMonad             5.7    1.0
 thenFC                         CgMonad                4.7    3.2
 completeCall                   Simplify               2.7    6.8
 >>=_aUF                        RegAlloc.Linear.State   2.2    0.5
 getCommonNodeUFMData           UniqFM                 2.1    2.5
 insert_ele                     UniqFM                 1.4    2.6
 thenNat                        NCGMonad               1.2    0.1
 simplVar                       Simplify               1.2    0.0
 ==_a3sk                        DynFlags               1.2    0.0
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3016#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list