eventlog2html icon indicating copy to clipboard operation
eventlog2html copied to clipboard

Live profile display

Open mpickering opened this issue 4 years ago • 0 comments

It would be nice to be able to display a profile as it was being created.

  1. Pipe the eventlog into a socket using - https://github.com/bgamari/ghc-eventlog-socket
  2. Add a webserver to eventlog2html which can parse the eventlog data and convert it into a suitable JSON format.
  3. The display page includes a button "start" which starts the process and connects to the local server via a websocket or whatever is used these days.
  4. Modify the chart logic to accept the data for the chart incrementally - https://vega.github.io/vega-lite/tutorials/streaming.html

mpickering avatar Mar 27 '20 16:03 mpickering