#3840: ghc-6.12.1 takes longer to compile code and produces bigger binaries
compared to ghc-6.10.4
-------------------------+--------------------------------------------------
    Reporter:  maeder    |        Owner:              
        Type:  bug       |       Status:  new         
    Priority:  normal    |    Milestone:              
   Component:  Compiler  |      Version:  6.12.1      
    Keywords:            |   Difficulty:              
          Os:  Linux     |     Testcase:              
Architecture:  x86       |      Failure:  None/Unknown
-------------------------+--------------------------------------------------

Comment(by simonmar):

 Replying to [comment:5 simonmar]:

 > One reason the GHC binary is bigger is that it now has all the native
 code generators compiled in, whereas in 6.10 it only had one.  Doubtless
 the compiler has just got bigger between 6.10 and 6.12 too.
 >
 > The distribution is bigger because it now contains shared libraries.

 I should add that we did measure binary sizes for nofib before releasing
 6.12.1, and we found that while the size of binaries typically increased
 by around 10\%, the size of individually compiled modules wasn't much
 different, which means that the increase is generally due to more code,
 rather than unnecessary inlining for example.

 Another thing that we added is the new IO library: Unicode support makes
 the base package bigger.

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