[GHC] #9232: Stats file has wrong numbers

GHC ghc-devs at haskell.org
Tue Jun 24 10:19:09 UTC 2014


#9232: Stats file has wrong numbers
-----------------------------------+------------------------------------
        Reporter:  augustss        |            Owner:  simonmar
            Type:  bug             |           Status:  new
        Priority:  low             |        Milestone:
       Component:  Runtime System  |          Version:  7.8.2
      Resolution:                  |         Keywords:
Operating System:  Windows         |     Architecture:  Unknown/Multiple
 Type of failure:  Other           |       Difficulty:  Unknown
       Test Case:                  |       Blocked By:
        Blocking:                  |  Related Tickets:
-----------------------------------+------------------------------------

Comment (by simonpj):

 OK, so the displayed allocation rate (displayed by -S) must be much, much,
 much lower? After all, you are saying that GHC 7.8 allocates 100x less
 data, but takes longer, so the allocation rate must be much lower too.

 Would you like to show the actual output?

 A useful thing to do is to compile everything (libraries and all, ideally,
 but not essential) with `-ticky`. That has no effect on optimisation but
 does gather per-function allocation counts.  Then run with `+RTS
 -rfoo.ticky`.  Results in file `foo.ticky`.

 Simon

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


More information about the ghc-tickets mailing list