X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.html;h=64114cdedb769b89d3122dcfe87930735a1d3d36;hb=1ab3e062eb1b3b28a8aead9834afc962ca142451;hp=ddd45d38e694ba3d5067cc7ea44b4f4b23fbfded;hpb=da7ce507eaddb2c950ec7c08b3fe91d10e49bfeb;p=advent-of-code-21.git diff --git a/README.html b/README.html index ddd45d3..64114cd 100644 --- a/README.html +++ b/README.html @@ -115,6 +115,7 @@
or
stack ghci advent01:exe:advent01
if the first form is ambiguous.
+To profile, use
cabal run advent01 --enable-profiling -- +RTS -N -p -s -hT
Or, you can simplify the RTS options by adding them to a new stanza in the cabal file:
@@ -130,7 +131,6 @@cabal run advent01prof --enable-profiling
Generate the profile graph with
hp2ps -M advent01.hp
-For Cabal, look at profiling with Cabal sandboxes
Packages I used a lot: