[GHC] #10069: CPR related performance issue

GHC ghc-devs at haskell.org
Mon Feb 9 21:49:02 UTC 2015


#10069: CPR related performance issue
-------------------------------------+-------------------------------------
        Reporter:  pacak             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1-rc2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by pacak):

 Those NOINLINE pragmas are required to replicate the behavior I'm getting
 in the production code. Generated core looks the same, generated assembly
 code is different though. With more fields added (see attachment)
 performance difference is 4x, goes away as soon as I get rid of forall'ed
 field.

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


More information about the ghc-tickets mailing list