Haskell profiling and performance
Hi, Am I doing something wrong, or did profiling performance drop an order of magnitude with GHC 6.2? When I compile my program with '-prof -auto-all', it takes about ten times as long to run as it does without. I use -O2 in both cases, and run without any run-time profiling options switched on. (The reported time, OTOH, seems about right) I though that previously profiling-compiling programs would only have marginal effects, and only running with heap profiling on would really slow things down. If this is a recent 'feature' and not just my brain getting its wires crossed again, is there any way to alleviate this (downgrade to x.y, build CVS HEAD, whatever)? (GHC 6.2 on Linux, tested with RPM package and Gentoo binary distribution) -kzm -- If I haven't seen further, it is by standing in the footprints of giants ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: turn off let floating
On Tue, Apr 06, 2004 at 09:38:38AM +0100, Simon Peyton-Jones wrote: > Strangely (and bogusly) there is no such flag in GHC6.2. Someone must > have noticed this already because it's there in the HEAD > (-fno-full-laziness), and has been since Feb 2004. Strange. Thanks, I think it would be good for the docs for System.IO.Unsafe (in future releases that have this flag) to mention the actual flag name. Cheers, Bernie. ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
RE: turn off let floating
Strangely (and bogusly) there is no such flag in GHC6.2. Someone must have noticed this already because it's there in the HEAD (-fno-full-laziness), and has been since Feb 2004. Strange. Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:glasgow-haskell-users- | [EMAIL PROTECTED] On Behalf Of Bernard James POPE | Sent: 06 April 2004 09:24 | To: [EMAIL PROTECTED] | Cc: Bernard James POPE | Subject: turn off let floating | | Hi all, | | In the documentation for System.IO.Unsafe | it says: | |Make sure that the either you switch off let-floating, |or that the call to unsafePerformIO cannot float outside a lambda. | | My question is how can you turn off let floating? I can't seem to | find a flag that suggests this behaviour. | | Cheers, | Bernie. | ___ | Glasgow-haskell-users mailing list | [EMAIL PROTECTED] | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
turn off let floating
Hi all, In the documentation for System.IO.Unsafe it says: Make sure that the either you switch off let-floating, or that the call to unsafePerformIO cannot float outside a lambda. My question is how can you turn off let floating? I can't seem to find a flag that suggests this behaviour. Cheers, Bernie. ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users