[GHC] #13426: compile-time memory-usage regression for DynFlags between GHC 8.0 and GHC 8.2

GHC ghc-devs at haskell.org
Tue Jun 13 00:22:48 UTC 2017


#13426: compile-time memory-usage regression for DynFlags between GHC 8.0 and GHC
8.2
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.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):  Phab:D3399,
       Wiki Page:                    |  Phab:D3400, Phab:D3421
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"2088d0be17dccfa91a4759bdbb20faae77c8dbed/ghc"
 2088d0be/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2088d0be17dccfa91a4759bdbb20faae77c8dbed"
 Stop forcing everything in coreBindsSize

 `coreBindsSize` forced a ton of structure to stop space leaks.
 Reid Barton has done some work recently to try to stop the leaks
 at their source instead. Memory residency remains well below the
 numbers Herbert posted on #13426 originally, but in some cases
 a ways above the ones from 8.0. I need to figure out how to get
 the numbers matched up to individual modules and do some
 profiling.

 Relates to #13426

 Reviewers: austin, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 Differential Revision: https://phabricator.haskell.org/D3606
 }}}

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


More information about the ghc-tickets mailing list