[GHC] #12790: GHC 8.0.1 uses copious amounts of RAM and time when trying to compile lambdabot-haskell-plugins
GHC
ghc-devs at haskell.org
Tue Dec 13 15:07:48 UTC 2016
#12790: GHC 8.0.1 uses copious amounts of RAM and time when trying to compile
lambdabot-haskell-plugins
-------------------------------------+-------------------------------------
Reporter: clint | Owner:
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 RyanGlScott):
To elaborate on the observation that enabling `-fprof-auto` fixes the
slowdown, it's because if you add an `SCC` pragma for `list`:
{{{#!hs
{-# SCC list #-}
list :: Parser Expr
list = ...
}}}
Then it also fixes the slowdown. (`-fprof-auto` was just doing this under
the hood).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12790#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list