| I'm using ghc 6.6.1 under Ubuntu Gutsy on a Pentium 4 machine, and I
| was working to get some code running in an acceptable time. I was
| surprised to find that turning on profiling switches made the code run
| over 40x faster!
That is indeed strange. Things to try:
* Try without -O.
* Try
Hello,
I'm using ghc 6.6.1 under Ubuntu Gutsy on a Pentium 4 machine, and I
was working to get some code running in an acceptable time. I was
surprised to find that turning on profiling switches made the code run
over 40x faster!
Here's the first run, using ghc --make -O2:
88.03user 0.08system
Am Montag, 10. Dezember 2007 00:29 schrieb Chad Scherrer:
Hello,
I'm using ghc 6.6.1 under Ubuntu Gutsy on a Pentium 4 machine, and I
was working to get some code running in an acceptable time. I was
surprised to find that turning on profiling switches made the code run
over 40x faster!