[GHC] #9630: compile-time performance regression (probably due to Generics)

GHC ghc-devs at haskell.org
Fri Sep 26 08:07:39 UTC 2014


#9630: compile-time performance regression (probably due to Generics)
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  simonpj
                  Type:  bug         |           Status:  new
              Priority:  high        |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  7.9
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Compile-    |       Blocked By:
  time performance bug               |  Related Tickets:  #9583
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Might it be worth leaving a few comments in the `GBInary` class to
 highlight that innocently inlining those methods is dangerous?

 And we still don't really understand why, I think.  `gget` looks as if it
 has lots of cpp-generated code, but the others look small.  Unless the
 things they call are in turn INLINE.

 So, a good fix, but it might be worth more investigation to figure out the
 best way to solve this in the end.  I think Pedro's goal was to eliminate
 all the intermediate structure.

 Simon

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


More information about the ghc-tickets mailing list