[GHC] #8027: Adding one call to getNumCapabilities triggers performance nose dive (6X slowdown)

GHC ghc-devs at haskell.org
Fri Jul 5 17:40:53 CEST 2013


#8027: Adding one call to getNumCapabilities triggers performance nose dive (6X
slowdown)
--------------------------------------+-------------------------------------
  Reporter:  rrnewton                 |          Owner:                  
      Type:  bug                      |         Status:  closed          
  Priority:  normal                   |      Milestone:                  
 Component:  Runtime System           |        Version:  7.6.3           
Resolution:  wontfix                  |       Keywords:                  
        Os:  Unknown/Multiple         |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug  |     Difficulty:  Unknown         
  Testcase:                           |      Blockedby:                  
  Blocking:                           |        Related:                  
--------------------------------------+-------------------------------------

Comment(by ezyang):

 He isn't referring to getNumCapabilities getting inlined; he's referring
 to the parReadNats function, which is polymorphic over Num instances.

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



More information about the ghc-tickets mailing list