[Haskell-cafe] Interpreting profiling results

Gregory Collins greg at gregorycollins.net
Mon Feb 8 14:34:58 EST 2010


Daniel Fischer <daniel.is.fischer at web.de> writes:

> Am Montag 08 Februar 2010 18:15:30 schrieb Gregory Collins:
>>
>> I'm just curious as to what the meaning of the MAIN cost centre is -- is
>> it just a catch-all bucket? Are we measuring time spent in the runtime
>> system?
>>
>> G
>
> MAIN is always the root of the call-tree, so I think it's the cost-centre 
> which subsumes all. That its inherited cost is 100% is natural, thus. But 
> usually, its individual cost is 0%, so there's something strange going on.

We've been thinking it might be
http://hackage.haskell.org/trac/ghc/ticket/3758 (my laptop is 6.10 and
the linux box is 6.12) but removing -threaded doesn't improve the
situation.

G
-- 
Gregory Collins <greg at gregorycollins.net>


More information about the Haskell-Cafe mailing list