HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
441 stars 77 forks source link

Application request: Haskell heap profile viewer #105

Open HeinrichApfelmus opened 9 years ago

HeinrichApfelmus commented 9 years ago

It would be really nice if we could port the hp2any-manager application for viewing Haskell heap profiles to threepenny-gui. This way, people don't have to install GTK (or resort to the old but good hp2ps utility).

Of course, hp2any could always just output a HTML file with interactive JavaScript…

HeinrichApfelmus commented 7 years ago

It appears that Edward Z. Yang has written an interactive heap viewer using d3.js. The heap viewer is available as an online service, but I think it should be possible to remove its server parts and use Threepenny's JavaScript FFI to make a local application instead. (This can be done by using the Foreign.JavaScipt module alone, there is no need to use the other parts.)

Of course, the heap viewer could also merged into the hp2any tool instead...

mpickering commented 5 years ago

I have implemented a heap viewer which creates a static html with an interactive heap profile using vega-lite. Perhaps this is of interest to you? The project isn't quite finished yet but should be usable.

https://github.com/mpickering/hp2pretty