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

GHC ghc-devs at haskell.org
Tue Nov 29 10:41:53 UTC 2016


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

 It's extremely difficult to combine (a) cost-centre profiling with (b)
 lots of optimisation.  It's a research question and GHC doesn't solve it.

 If you want unrestricted optimisation, I'm afraid you are stuck with the
 (much lower level) `ticky-ticky` profiling system.

 It'd be great to improve this, but I don't know how.

 Simon

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


More information about the ghc-tickets mailing list