X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.md;h=63ac7055c7f1575b5ef8b81771b5bea1f13ffd0d;hb=c75086f7805b52a80a8e70ff4f5ba75e33b8ad25;hp=6dad2b8d00f19c37e4f10276be7e890f147acd77;hpb=3a2c1aef0f0bd29882326e71c8f377603017ad0f;p=summerofcode2018soln.git diff --git a/README.md b/README.md index 6dad2b8..63ac705 100644 --- a/README.md +++ b/README.md @@ -60,12 +60,16 @@ stack ghci summerofcode2018soln:exe:task1 To profile, use ``` -stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" task1 +stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" ``` then run with ``` stack exec -- task1 +RTS -p -hy ``` +Make the profile graph visible with +``` +/usr/lib/ghc/bin/hp2ps task1.hp +``` ## Packages