[Haskell-cafe] Interpreting profiling results

Daniel Fischer daniel.is.fischer at web.de
Mon Feb 8 13:45:55 EST 2010


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.


More information about the Haskell-Cafe mailing list