[GHC] #16040: Unboxing-Related Performance Issue with Polymorphic Functions

GHC ghc-devs at haskell.org
Wed Dec 12 15:54:06 UTC 2018


#16040: Unboxing-Related Performance Issue with Polymorphic Functions
-------------------------------------+-------------------------------------
        Reporter:  _recursion        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I have not yet tried with criterion, but I tried with
 {{{
 main = print (test1 10000000)
 }}}
 or `test2`, and ran with `+RTS -s`.  I got the same amount of allocation
 either way. Do you see that too?  If so, it's not a heap-allocation issue.

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


More information about the ghc-tickets mailing list