Updated profiling information
[advent-of-code-19.git] / README.md
index 3c08dac9befd9dbc2144d01b1be1d87192b1ff4c..ba5265bc3c9b7d778e1c56d56fc8307e6fac5f19 100644 (file)
--- a/README.md
+++ b/README.md
@@ -69,11 +69,11 @@ if the first form is ambiguous.
 
 To profile, use 
 ```
-stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"
+stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" advent01
 ```
 then run with
 ```
-stack exec -- advent01 +RTS -p -hy
+stack exec --profile -- advent01 +RTS -p -hy
 ```
 Generate the profile graph with
 ```