[GHC] #9669: Long compile time/high memory usage for modules with many deriving clauses

GHC ghc-devs at haskell.org
Tue Oct 7 11:24:27 UTC 2014


#9669: Long compile time/high memory usage for modules with many deriving clauses
-------------------------------------+-------------------------------------
              Reporter:  snoyberg    |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:  Linux       |     Architecture:  x86_64 (amd64)
       Type of failure:  Compile-    |       Difficulty:  Unknown
  time performance bug               |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by snoyberg):

 I've attached ghc.prof, which is a profile from compiling the Bar.hs
 module generated by the attached generate.hs. The hotspot appears to be
 the SimplTopBinds cost center, though my lack of experience with the GHC
 codebase prevents me from understanding what that means.

 If there are any other reports (e.g. heap profiles) that would be useful,
 let me know.

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


More information about the ghc-tickets mailing list