Open HeinrichApfelmus opened 9 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...
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.
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…