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

GHC ghc-devs at haskell.org
Sat Jul 21 15:32:31 UTC 2018


#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 George):

 I am not able to reproduce this on my Mac running 10.13.6 with 4 cores and
 GHC version 8.6.0.20180714

 time for profiled version:  Total   time    1.244s  (  0.451s elapsed)
 time for non-profiled version:  Total   time    0.242s  (  0.134s elapsed)

 Also I checked that both programs produce the same output by writing to a
 file and doing a diff.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14414#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list