Done day 25
[advent-of-code-18.git] / README.md
index e268bd46b85f1e577b1d36ced9fb41b2f849d011..f55e9a120c1fbcb94a4af150e5439762ba65771d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -48,6 +48,11 @@ Run with
 stack exec advent01
 ```
 
+If you want to pass in additional RTS parameters, do it like this:
+```
+stack exec -- advent01 +RTS -K0 -RTS
+```
+
 Run interactively with
 ```
 stack ghci advent-of-code:exe:advent01
@@ -55,12 +60,16 @@ stack ghci advent-of-code:exe:advent01
 
 To profile, use 
 ```
-stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" adventofcode1601
+stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"
 ```
 then run with
 ```
 stack exec -- advent01 +RTS -p -hy
 ```
+Generate the profile graph with
+```
+stack exec hp2ps advent01.hp
+```
 
 # Packages