[GHC] #10800: vector-0.11 compile time increased substantially with 7.10.1

GHC ghc-devs at haskell.org
Thu Sep 24 15:34:06 UTC 2015


#10800: vector-0.11 compile time increased substantially with 7.10.1
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                   Owner:  bgamari
            Type:  bug               |                  Status:  new
        Priority:  highest           |               Milestone:  8.0.1
       Component:  Compiler          |                 Version:  7.10.2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by bgamari):

 `-ddump-inlinings` reveals that there are indeed 7.10 is doing a great
 deal more inlining than 7.8. Right off the bat 7.10 inlines a variety of
 methods from the `Applicative` et al. which never appear to be inlined
 under 7.8,

 {{{
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId_$cpure
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId4
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId_$cpure
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId4
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId_$cpure
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId4
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId_$cpure
 Inlining done: Data.Vector.Fusion.Util.$fApplicativeId4
 Inlining done: GHC.Show.$fShow(,,)_$cshowList
 Inlining done: GHC.Show.$fShow(,,)_$cshow
 Inlining done: Test.QuickCheck.Arbitrary.$fArbitrary(,,)_$cshrink
 Inlining done:
     Test.QuickCheck.Arbitrary.$fArbitrary(,,)_$carbitrary
 Inlining done: Utilities.$fTestDataVector2_$cequal
 }}}

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


More information about the ghc-tickets mailing list