[Haskell-cafe] Memory profiler

Stefan O'Rear stefanor at cox.net
Fri Jul 27 19:25:56 EDT 2007


On Sat, Jul 28, 2007 at 12:11:31AM +0100, Jon Harrop wrote:
> Is there a memory profiler for Haskell?

Yes.  GHC, NHC and HBC all have integrated heap profilers.

ghc --make -prof -auto-all ...
./MyProgram +RTS -hc -RTS
./MyProgram +RTS -hm -RTS
./MyProgram +RTS -hd -RTS
./MyProgram +RTS -hy -RTS
...

http://haskell.org/ghc/dist/current/docs/users_guide/prof-heap.html

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070727/52e7c0bb/attachment.bin


More information about the Haskell-Cafe mailing list