
#14414: Profiled program runs 2.5x faster than non-profiled -------------------------------------+------------------------------------- Reporter: Fuuzetsu | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Indeed the spinning explanation sounds quite plausible to me. In addition to the suggestions made by duog, you might also consider trying with `-fno-omit-yields`, which ensures that even non-allocating code segments perform an occasional heap check. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14414#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler