aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--README.md17
2 files changed, 20 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 726ea43..769d15f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
1*.eventlog*
2*.hp
3cabal.project.local
1demos/pong/dist/ 4demos/pong/dist/
2demos/pong/pong 5demos/pong/pong
3dist/ 6dist/
diff --git a/README.md b/README.md
index 45eb2a2..1cf42dc 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,23 @@ Run a demo:
22$ cabal run pong 22$ cabal run pong
23``` 23```
24 24
25Profiling
26---------
27
28Build with profiling enabled:
29
30```
31cabal clean
32cabal configure --enable-profiling
33cabal build
34```
35
36Then run to collect statistics (below is just an example):
37
38```
39cabal run balls -- +RTS -hc -l -sstderr
40```
41
25Features 42Features
26-------- 43--------
27 44