[GHC] #11701: ghc generates significant slower code

GHC ghc-devs at haskell.org
Sat Mar 12 00:04:12 UTC 2016


#11701: ghc generates significant slower code
-------------------------------------+-------------------------------------
        Reporter:  HuStmpHrrr        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:  efficiency
Operating System:  Linux             |         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):

 Wow, indeed 7.10.3 chooses not to inline `even`. I've not looked into why
 but this is quite surprising. Inlining `even` produces a significant
 speedup (roughly a factor of five) as one would expect.

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


More information about the ghc-tickets mailing list