Re: [Haskell-cafe] Profiling a project with cabal and cabal-dev

2012-11-10 Thread Albert Y. C. Lai
On 12-11-07 12:00 AM, Mike Craig wrote: Got it. Thanks for the info, Erik. I've updated my cabal config and reinstalled some of the global packages, and the world seems much less bleak! :) The good news is that whatever comes with GHC comes with profiling, you do not need to reinstall them.

Re: [Haskell-cafe] Profiling a project with cabal and cabal-dev

2012-11-06 Thread Mike Craig
Got it. Thanks for the info, Erik. I've updated my cabal config and reinstalled some of the global packages, and the world seems much less bleak! :) Mike On Tue, Nov 6, 2012 at 5:39 PM, Erik Hesselink wrote: > I think this is just the way it works currently, since cabal only tracks > the inst

Re: [Haskell-cafe] Profiling a project with cabal and cabal-dev

2012-11-06 Thread Erik Hesselink
I think this is just the way it works currently, since cabal only tracks the installed package and version, but not if profiling was enabled. I always have my ~/.cabal/config set to install profiling libraries to avoid this problem. That doesn't help you now though. The easiest thing to do is proba

[Haskell-cafe] Profiling a project with cabal and cabal-dev

2012-11-06 Thread Mike Craig
Hi all, So I've been working on a project and I'd like to run it with profiling to diagnose the performance hotspots. It's a cabal project and I've been using cabal-dev for sandboxing. Normally I would just run `cabal-dev install` to get everything built and the executables "installed" in ./cabal-