[GHC] #7994: Make foldl into a good consumer
GHC
ghc-devs at haskell.org
Sun Jan 26 13:41:14 UTC 2014
#7994: Make foldl into a good consumer
-------------------------------------+------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by nomeata):
Interesting: Even without the `oneShot` marker surviving the unfolding,
nofib shows some extreme changes in allocations:
{{{
Program Size Allocs Runtime Elapsed TotalMem
--------------------------------------------------------------------------------
bernouilli +0.1% -4.2% 0.12 0.12 +0.0%
fft2 +0.0% +125.4% 0.04 0.05 +0.0%
gen_regexps +0.0% -9.4% 0.00 0.00 +0.0%
integrate +0.1% +144.2% 0.14 0.14 +1.0%
minimax +0.0% -3.8% 0.00 0.00 +0.0%
simple +0.1% -7.5% 0.15 0.15 -14.7%
x2n1 +0.1% -45.2% 0.00 0.00 -50.0%
--------------------------------------------------------------------------------
Min -0.9% -45.2% -27.5% -27.7% -50.0%
Max +0.2% +144.2% +3.1% +3.1% +100.0%
Geometric Mean +0.0% +0.8% -5.9% -5.7% -0.3%
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7994#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list