X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-18.git;a=blobdiff_plain;f=README.md;fp=README.md;h=f9bb2e14caf06d504c1f1419b65b627af40164cb;hp=e268bd46b85f1e577b1d36ced9fb41b2f849d011;hb=cf9be993787582089b71f86c25f9de2dbebf790c;hpb=4b69139ad3c866105f1bd717bebfa7ea9fed1c29 diff --git a/README.md b/README.md index e268bd4..f9bb2e1 100644 --- a/README.md +++ b/README.md @@ -55,12 +55,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