diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -22,6 +22,23 @@ Run a demo: | |||
22 | $ cabal run pong | 22 | $ cabal run pong |
23 | ``` | 23 | ``` |
24 | 24 | ||
25 | Profiling | ||
26 | --------- | ||
27 | |||
28 | Build with profiling enabled: | ||
29 | |||
30 | ``` | ||
31 | cabal clean | ||
32 | cabal configure --enable-profiling | ||
33 | cabal build | ||
34 | ``` | ||
35 | |||
36 | Then run to collect statistics (below is just an example): | ||
37 | |||
38 | ``` | ||
39 | cabal run balls -- +RTS -hc -l -sstderr | ||
40 | ``` | ||
41 | |||
25 | Features | 42 | Features |
26 | -------- | 43 | -------- |
27 | 44 | ||