Accessing new heap costs more than old?

Simon Marlow simonmar at microsoft.com
Mon Sep 12 07:04:03 EDT 2005


On 05 September 2005 19:38, Adrian Hey wrote:

> On Monday 05 Sep 2005 5:42 pm, Jan-Willem Maessen wrote:
>> This agrees with my theory.
> 
> Thanks, I'm sure this must be the explanation. I guess the moral of
> the story is that for comparative benchmarks you really do need to
> make sure you're comparing like with like. Very small differences in
> test method can have a significant impact on running time it seems.

Can you confirm the hypotheses by inspecting the output from +RTS
-sstderr, which tells you the breakdown of GC vs. mutator time?

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list