[GHC] #8861: Use commas to separate thousands when printing memory stats

GHC ghc-devs at haskell.org
Sat Mar 8 17:17:04 UTC 2014


#8861: Use commas to separate thousands when printing memory stats
-------------------------------+-------------------------------------------
        Reporter:  ErlendH     |            Owner:
            Type:  feature     |           Status:  patch
  request                      |        Milestone:
        Priority:  lowest      |          Version:  7.6.3
       Component:  GHCi        |         Keywords:
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:              |       Difficulty:  Easy (less than 1 hour)
  Unknown/Multiple             |       Blocked By:
 Type of failure:              |  Related Tickets:
  None/Unknown                 |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by ErlendH):

 tibbe: Good point. I did a quick check, running nofib and looking at the
 output. The file's `<<ghc ... :ghc>` blocks still had memory usage printed
 without the commas, e.g. `<<ghc: 477115072 bytes, 54 GCs, 8876729/21024600
 avg/max bytes residency (5 samples), 40M in use, 0.00 INIT (0.00 elapsed),
 0.40 MUT (0.52 elapsed), 0.17 GC (0.18 elapsed) :ghc>`. I haven't looked
 at nofib before, though, so take this with a grain of salt.

 rwbarton: Thanks for the tip. I'll have a look.

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


More information about the ghc-tickets mailing list