[GHC] #12893: Profiling defeats stream fusion when using vector library

GHC ghc-devs at haskell.org
Fri Feb 10 04:09:19 UTC 2017


#12893: Profiling defeats stream fusion when using vector library
-------------------------------------+-------------------------------------
        Reporter:  newhoggy          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  stream-fusion
                                     |  profiling
Operating System:  MacOS X           |         Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 However, do keep in mind that profiling isn't an all-or-nothing
 proposition. If you would like to use the profiler it is still possible to
 (with care) manually insert cost-centers or even enable automatic cost-
 center insertion for entire (non-performance critical) modules by using
 the `OPTIONS_GHC` pragma.

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


More information about the ghc-tickets mailing list