X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-19.git;a=blobdiff_plain;f=README.md;h=ba5265bc3c9b7d778e1c56d56fc8307e6fac5f19;hp=3c08dac9befd9dbc2144d01b1be1d87192b1ff4c;hb=3c8880f27a53ab063886a0b19b665c85155cbaf2;hpb=50e8668a3cc39a2bdcfdb7d13b506263307e5f45 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 ```