#2328: Compiling DoCon with 6.8.3 has 3x slow-down compared with 6.8.2
------------------------------------------+---------------------------------
 Reporter:  simonpj                       |          Owner:         
     Type:  compile-time performance bug  |         Status:  new    
 Priority:  normal                        |      Milestone:  6.8.3  
Component:  Compiler                      |        Version:  6.8.2  
 Severity:  normal                        |     Resolution:         
 Keywords:                                |     Difficulty:  Unknown
 Testcase:                                |   Architecture:  Unknown
       Os:  Unknown                       |  
------------------------------------------+---------------------------------
Changes (by igloo):

  * milestone:  => 6.8.3

Comment:

 Here's where I am so far, using
 http://haskell.org/docon/distrib/2.11/docon-2.11.zip

 With 6.8.3 RC:
 {{{
 $ ghc -O -fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-
 instances -O --make RsePol_.hs -fforce-recomp +RTS -M400M
 [...]
 $ ghc -O -fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-
 instances -O -c RsePol_.hs -fforce-recomp -v +RTS -M400M
 [...]
 *** Parser:
 *** Renamer/typechecker:
 *** Desugar:
     Result size = 3830
 *** Simplify:
     Result size = 2895
     Result size = 2691
     Result size = 2689
     Result size = 2689
 *** Specialise:
     Result size = 2689
 *** Float out (not lambdas, not constants):
     Result size = 2751
 *** Float inwards:
     Result size = 2751
 *** Simplify:
 Heap exhausted;
 Current maximum heap size is 399998976 bytes (381 Mb);
 }}}
 while 6.8.2 goes:
 {{{
 [...]
 *** Parser:
 *** Renamer/typechecker:
 *** Desugar:
     Result size = 3827
 *** Simplify:
     Result size = 2899
     Result size = 2701
     Result size = 2699
     Result size = 2699
 *** Specialise:
     Result size = 2699
 *** Float out (not lambdas, not constants):
     Result size = 2768
 *** Float inwards:
     Result size = 2768
 *** Simplify:
     Result size = 309049
     Result size = 216314
     Result size = 81507
 [...]
 }}}
 (and is also happy with a 200M heap).

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