[GHC] #12706: Collecting type info is slow

GHC ghc-devs at haskell.org
Fri Oct 14 16:41:50 UTC 2016


#12706: Collecting type info is slow
-------------------------------------+-------------------------------------
           Reporter:  vshabanov      |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  GHCi           |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 With `:set +c` option in GHCi, I'm waiting for 10-15 seconds for
 {{{
 Collecting type info for 34 module(s) ...
 }}}
 after both first load and subsequent reloads, even if only top-level
 module was modified.

 And GHCi uses about 1.5-2x more memory than it uses without `:set +c`.

 My app has about 30k lines of code.

 Is it expected behavior and some performance improvements are planned or
 it's a bug?

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


More information about the ghc-tickets mailing list