[Haskell-cafe] Profiling

Andrew Coppin andrewcoppin at btinternet.com
Sun Feb 21 11:02:22 EST 2010


Two small questions:

1. Is Thread Scope any use for profiling single-threaded programs?

2. I tried to compile my program with -prof, but GHC just whines at me 
that the packages I'm using haven't been compiled for profiling. Do I 
really need to go recompile every single package I'm using with 
profiling support before I can profile my program? How do I tell Cabal 
to install the necessary code? (I really hope this doesn't involve 
uninstalling and reinstalling everything...)



More information about the Haskell-Cafe mailing list