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

GHC ghc-devs at haskell.org
Mon May 29 04:18:18 UTC 2017


#9630: compile-time performance regression (probably due to Generics)
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  dfeuer
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.9
      Resolution:                    |             Keywords:  deriving-
                                     |  perf, Generics
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9583, #10293,    |  Differential Rev(s):
  #13059, #10818                     |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:50 simonpj]:
 > OK, so we conclude that the original problem is now fixed?  (Albeit we
 don't quite know how.)
 >
 > If so, great; but let's add a regression test.

 I'm not sure. There were two changes to `binary` relating to this ticket:
 several `INLINE`s were removed, and the generic classes were split. Are we
 hoping to be able to reintroduce the inlines ''and'' merge the classes? I
 don't think we're in a position to do that right now (I tried, and
 compiling Cabal got quite slow). Are we hoping just to be able to merge
 the classes? I'll try to see how that looks next.

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


More information about the ghc-tickets mailing list