Annotate heap profile at certain times
Just an idea I’d like to note down: When looking at a heap profile, I often have to guess what phase is what. It would be useful if there is a
GHC.Exts.annotateHeapProfile :: String -> IO ()
function where a vertical line shows up in the heap profile every time the function is called, and is labeled by the given string.
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Profiling |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |