[GHC] #9798: Frustrating behaviour of the INLINE pragma

GHC ghc-devs at haskell.org
Thu Nov 13 15:07:31 UTC 2014


#9798: Frustrating behaviour of the INLINE pragma
-------------------------------------+-------------------------------------
              Reporter:  mojojojo    |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:  MacOS X     |     Architecture:  x86_64 (amd64)
       Type of failure:  Runtime     |       Difficulty:  Unknown
  performance bug                    |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Did you use `-ddump-inlinings`?  Could you add `-ddump-occur-anal -ddump-
 stg`.  Can you combine stdout and stderr together?

 I'm not sure which is which, because directory `step2/` contains files
 labelled `step3` and vice versa!

 Since you are zipping, you could bundle all three in one.

 Thanks!  As you'll see, the ticky numbers are revealing.  But it looks as
 if step1 allocates least.  Is step3 really faster?

 Simon

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


More information about the ghc-tickets mailing list