#3581: Compiling with optimizations on hurts performance
-----------------------------+----------------------------------------------
Reporter: gchrupala | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.4 | Severity: major
Keywords: optimization | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
The attached program runs many times slower when compiled with
optimizations (4.5 seconds vs. 1.5 minutes on my machine).
I wasn't able to reduce the program to a small snippet so I attach the
whole thing (including data files to process).
I compiled and ran like this:
> ghc --make test2.hs
> time ./test2
And then
> ghc --make test2 -fforce-recomp -O
> time ./test2
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3581>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs