
To test out the improvments, I did a very fast-and-loose profiling of
#11415: pandoc-types fails to build on 4 GB machine -------------------------------------+------------------------------------- Reporter: pavolzetor | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: fixed | Keywords: Generics Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed Comment: In https://github.com/bos/aeson/pull/335#issue-127344930, RyanGlScott mentions: the time and memory it takes to compile `pandoc-types` (a package known to be affected badly by the aeson-0.10 compilation regressions).
The total wall time went from 10 minutes to under a minute, and it went from using 3 GB of RAM (and thrashing my laptop mercilessly) to about 500 MB of RAM.
pavolzetor: make sure you upgrade to the latest version of `aeson` to get those improvements. The //real// problem with Generics compile-time performance it still tracked in #5642. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11415#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler