[GHC] #3064: Very long compile times with type functions

GHC cvs-ghc at haskell.org
Mon Sep 13 15:29:55 EDT 2010


#3064: Very long compile times with type functions
----------------------------------------+-----------------------------------
    Reporter:  simonpj                  |        Owner:  chak                        
        Type:  bug                      |       Status:  new                         
    Priority:  low                      |    Milestone:  7.0.1                       
   Component:  Compiler (Type checker)  |      Version:  6.10.1                      
    Keywords:                           |     Testcase:                              
   Blockedby:                           |   Difficulty:  Unknown                     
          Os:  Unknown/Multiple         |     Blocking:                              
Architecture:  Unknown/Multiple         |      Failure:  Compile-time performance bug
----------------------------------------+-----------------------------------

Comment(by CoreyOConnor):

 Using ghc-stage2 version 6.13.20100913. Which, as I understand it, should
 be using the new typechecker.

 {{{
 [coconnor at toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs

 real    0m2.296s
 user    0m2.245s
 sys     0m0.049s
 [coconnor at toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs

 real    0m11.539s
 user    0m11.391s
 sys     0m0.143s
 [coconnor at toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs

 real    0m53.307s
 user    0m52.859s
 sys     0m0.438s
 [coconnor at toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs

 real    4m0.904s
 user    3m59.552s
 sys     0m1.308s

 }}}

 Memory usage appeared to remain constant over time.

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


More information about the Glasgow-haskell-bugs mailing list