Eventlog with Heap information.

This commit is contained in:
Andor Penzes 2020-06-12 19:49:08 +02:00
parent 267d2bcae1
commit eaf1e28232
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Haskell Code Spot
Visual tool to spot odd runtime behaviour of Haskell programs.
Visual tool to spot odd runtime behaviour of Haskell programs.
**Keywords:** *data scientist, GHC eventlog, UI experiments, creative/live coding*
### Learn these for coding
@ -28,4 +28,14 @@ In another terminal:
Now open [http://localhost:5000/](http://localhost:5000/) in your browser!
You will see a visualisation of [data/grin.eventlog](data/grin.eventlog)
(change in [client/src/App.svelte](client/src/App.svelte)).
(change in [client/src/App.svelte](client/src/App.svelte)).
### How to build your eventlog
If stack project is used, profiling must be enabled.
After compiled with profiling, one need to run it with RTS options plh.
```
stack build --profile --executable-profiling --library-profiling
stack exec --profile EXECUTABLE -- ARGUMENTS +RTS -p -l -h
```

Binary file not shown.