[GHC] #10247: 5x increase in total memory allocation for `prof-doc-fib` test since 2011

GHC ghc-devs at haskell.org
Tue Apr 7 19:20:18 UTC 2015


#10247: 5x increase in total memory allocation for `prof-doc-fib` test since 2011
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                   Owner:
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:
       Component:  Profiling         |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Now testing with HEAD, on a hunch I tried `make fast TEST=prof-doc-fib`
 (which only runs the profasm test way), and I got a number which
 (exactly!) matched the previous prof-doc-fib.prof.sample value. So I think
 that file was produced with profasm. (Would be nice to record this
 information...)

 prof-doc-last really did regress from 7.8.4 to 7.10.1, though:
 {{{
 total alloc = 408,053,512 bytes  (excludes profiling overheads)  -- 7.8.4
 total alloc = 648,053,536 bytes  (excludes profiling overheads)  -- 7.10.1
 }}}
 presumably due to b709f0a047dc036de15dc43d3b0ab88d3e32c5e6. But the extra
 allocations go away when optimizations are enabled, so I guess it's okay.

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


More information about the ghc-tickets mailing list