3 questions regarding profiling in ghc

Duncan Coutts duncan.coutts at googlemail.com
Fri Nov 13 09:40:29 EST 2009

On Fri, 2009-11-13 at 17:18 +0300, Daniil Elovkov wrote:

> > Did you use "-auto-all", to automatically create cost centers for all
> > top-level functions?  I find that I get very verbose cost info for
> > definitions under imported libraries.
> Yeah, I've got it. Modules in packages were done by cabal configure -p. 
> That probably doesn't imply -auto-all.

Right, because you usually do not want to see cost centres for all of
the dependent libs (especially not all the way down) to the bottom of
the package stack.

What we need is somewhat better control in Cabal so you can say,
"actually I do want this package to have cost centres".


More information about the Glasgow-haskell-users mailing list