X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-19.git;a=blobdiff_plain;f=README.html;h=916c577914204de7221867eca95a26dfc1028e87;hp=dd8744b070a5ed6d51a9133c11a0a9e8dc581d16;hb=09d448be7cd1dc2dd32ce632b0732d007279bf32;hpb=a9dd0c4031eae1a3b5aa8a637093eb0419a31930 diff --git a/README.html b/README.html index dd8744b..916c577 100644 --- a/README.html +++ b/README.html @@ -43,9 +43,9 @@
stack ghci advent01:exe:advent01

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

stack exec hp2ps advent01.hp

Packages