[GHC] #9961: compile-time performance regression compiling genprimcode

GHC ghc-devs at haskell.org
Tue Jan 6 17:08:44 UTC 2015


#9961: compile-time performance regression compiling genprimcode
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  simonpj
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.1
       Component:  Compiler          |                 Version:  7.10.1-rc1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I tried with the 7.10 branch, and got
 {{{
    4,187,629,104 bytes allocated in the heap
      476,423,296 bytes copied during GC
       42,531,768 bytes maximum residency (11 sample(s))
        1,561,840 bytes maximum slop
               96 MB total memory in use (0 MB lost due to fragmentation)

                                      Tot time (elapsed)  Avg pause  Max
 pause
   Gen  0       619 colls,     0 par    1.937s   1.936s     0.0031s
 0.0290s
   Gen  1        11 colls,     0 par    0.710s   0.710s     0.0645s
 0.1338s

   TASKS: 4 (1 bound, 3 peak workers (3 total), using -N1)

   SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)

   INIT    time    0.002s  (  0.001s elapsed)
   MUT     time    6.782s  (  7.641s elapsed)
   GC      time    2.647s  (  2.646s elapsed)
   EXIT    time    0.035s  (  0.034s elapsed)
   Total   time    9.497s  ( 10.323s elapsed)
 }}}
 So I can't reproduce the slow compile time.  Alas.

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


More information about the ghc-tickets mailing list