X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.md;fp=README.md;h=ba5265bc3c9b7d778e1c56d56fc8307e6fac5f19;hb=09d448be7cd1dc2dd32ce632b0732d007279bf32;hp=3c08dac9befd9dbc2144d01b1be1d87192b1ff4c;hpb=a9dd0c4031eae1a3b5aa8a637093eb0419a31930;p=advent-of-code-19.git diff --git a/README.md b/README.md index 3c08dac..ba5265b 100644 --- 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 ```