[GHC] #14414: Profiled program runs 2.5x faster than non-profiled

GHC ghc-devs at haskell.org
Mon Nov 6 20:15:46 UTC 2017


#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


More information about the ghc-tickets mailing list