[Haskell-cafe] profiling cabal libraries

Vo Minh Thu noteed at gmail.com
Tue Oct 19 11:51:43 EDT 2010

2010/10/19 Tom Hawkins <tomahawkins at gmail.com>:
> How do I profile cabal libraries?
> I "cabal install -p" a local package I am testing, and I compile a
> test of the library using "-prof -auto-all".  But the profiling report
> only lists a CAF entry for the library, but does not detail any of the
> library's top level functions.
> What am I doing wrong?

Maybe use -auto-all for compiling the library itself too?


More information about the Haskell-Cafe mailing list