Haskell profiling and performance

2004-04-06 Thread Ketil Malde
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

Re: turn off let floating

2004-04-06 Thread Bernard James POPE
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 f

RE: turn off let floating

2004-04-06 Thread Simon Peyton-Jones
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 PROTECT

turn off let floating

2004-04-06 Thread Bernard James POPE
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