6 Apr
2001
6 Apr
'01
9:36 p.m.
Is there any way to profile the "burn-rate" of a Haskell program? Profiling as I understand it tells you what the "live" information on the heap is. It doesn't tell you what garbage collector has just freed. So, if a function were generating tons of intermediate values which it then immediately consumed, you wouldn't see it on the profile. Yet this is a place where rewriting the code or adding strictness could help reduce time spent garbage collecting. I liken this to cash-flow: you're not just interested in the amount of cash you have, but also where it's going. Profiling currently gives us only the first dimension not the second, if I understand it correctly. Sengan
9275
Age (days ago)
9275
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sengan