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

Johan Tibell johan.tibell at gmail.com
Tue Feb 21 04:03:40 CET 2012

Hi Iavor,

On Mon, Feb 20, 2012 at 6:45 PM, Iavor Diatchki
<iavor.diatchki at gmail.com> wrote:
> 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

More information about the Glasgow-haskell-users mailing list