#3629: Code compiled WITHOUT profiling many times slower than compiled WITH
profiling on
---------------------------------+------------------------------------------
    Reporter:  gchrupala         |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  6.12 branch 
   Component:  Compiler          |      Version:  6.13        
    Keywords:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 We suggest trying the following (with both 6.10.4 and 6.13) to see if they
 make any difference:

  * `-fno-state-hack` (see #1168)
  * `-fno-cse`
  * `-fno-full-laziness`

 all 3 of these "optimizations" can introduce slowdowns as well as
 speedups, so it may be that this program is an example of that.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3629#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to