3 questions regarding profiling in ghc

2009-11-12 Thread Daniil Elovkov
Hello Sorry for the uninformative subject, but I've got no less than 3 questions about profiling in ghc. Here we go 1) Can I profile my program if I don't have all the libraries it depends on compiled with profiling? ghc says it can't find profiling variants of this and that module in

A few small points about GHCi command documentation in section 2.7

2009-11-12 Thread Yitzchak Gale
Please add to the documentation for :set prompt: If you enclose \i{prompt} in quotes, you can use Haskell syntax for String literals. Actually, :set prompt is nearly useless without quotes, because GHCi strips off trailing spaces from commands. We should either add a space at the end of a prompt

Re: [Haskell-cafe] Fwd: (Solved) cabal install with external gcc tool chain not the ghc-bundled one

2009-11-12 Thread Duncan Coutts
On Thu, 2009-11-12 at 10:46 +0100, Daniel Kahlenberg wrote: to answer this question myself how the use of another gcc is specified with effect, I used the following options with the 'cabal install' call: --ghc-options=-pgmc e:/programme/ghc/mingw-gcc4/bin/gcc.exe -pgml

Re: 3 questions regarding profiling in ghc

2009-11-12 Thread John Dorsey
Daniil, While you're waiting for an answer from a GHC internals expert, here's my experience as a fellow user. 1) Can I profile my program if I don't have all the libraries it depends on compiled with profiling? I don't know how to do that, and I don't know how to automatically reinstall

Inliner behaviour - tiny changes lead to huge performance differences

2009-11-12 Thread Bryan O'Sullivan
I'm working on measuring and improving the performance of the text library at the moment, and the very first test I tried demonstrated a piece of behaviour that I'm not completely able to understand. Actually, I'm not able to understand what's going on at all, beyond a very shallow level. All the