Re: [Haskell-cafe] ANN: hp2html, a tool for viewing GHC heap-profiles

Hi Iavor,
On Mon, Feb 20, 2012 at 6:45 PM, Iavor Diatchki
Hello,
I am happy to announce the availability of a little tool that I wrote while I was doing some Haskell profiling. It converts GHC's heap-profiles into HTML, and renders them nicely using the flot library. Its functionality is similar to `hp2ps`. I wrote it because I find the HTML output easier to work with and, also, because it can cope with partial profiles, so one can refresh the profile while the program is running. The tool is a very short Haskell program, so it should be quite easy to modify and improve (and there is a lot that can be improved in it! :-).
Looks really nice. The hovering behavior is nice, but I'd like to see the legend as well. It makes it quicker when you want to get a quick overview of what types there are, as the eye can travel back-and-forth between the graph and the legend. -- Johan

Hello,
On Mon, Feb 20, 2012 at 7:03 PM, Johan Tibell
Looks really nice.
Thanks!
The hovering behavior is nice, but I'd like to see the legend as well. It makes it quicker when you want to get a quick overview of what types there are, as the eye can travel back-and-forth between the graph and the legend.
I started with the legend but it was too big on the program that i was profiling, so i switched to the hovering mode. I agree that it is not optimal. Perhaps there's a way to instruct flot to show only some of the entries or, better, order them in some useful way. I'm no flot expert, so ideas (or patches) on how to do it would be most appreciated! -Iavor

On Mon, Feb 20, 2012 at 9:23 PM, Iavor Diatchki
I started with the legend but it was too big on the program that i was profiling, so i switched to the hovering mode. I agree that it is not optimal. Perhaps there's a way to instruct flot to show only some of the entries or, better, order them in some useful way. I'm no flot expert, so ideas (or patches) on how to do it would be most appreciated!
Big in what sense? Area wise? You could perhaps put it outside the flot graph. -- Johan
participants (2)
-
Iavor Diatchki
-
Johan Tibell