[GHC] #13379: Space leak / quadratic behavior when inlining

GHC ghc-devs at haskell.org
Mon Apr 17 17:50:21 UTC 2017


#13379: Space leak / quadratic behavior when inlining
-------------------------------------+-------------------------------------
        Reporter:  jberryman         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 All right. I believe I've pinned this down to
 45d9a15c4b85a2ed89579106bdafd84accf2cb39 ("Fix a huge space leak in the
 mighty Simplifier").

 * Before: 2.5GB allocated in 4.3s
 * After: 28.2GB allocated in 19s

 That's over ten times the allocation, and over 4 times the time! I'll
 start taking a look at why that may be.

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


More information about the ghc-tickets mailing list