From af2742a9ccfacc033b060eea067130997539ce10 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 10 Dec 2016 22:29:30 +0100 Subject: Removed PROFILING, added profiling info to CONTRIBUTING.md. --- CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d9c95702e..1ad400b3a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -193,6 +193,23 @@ placed in the source directory): :set -XOverloadedStrings ``` +Profiling +--------- + +To use the GHC profiler with cabal: + + cabal clean + cabal install --enable-library-profiling --enable-executable-profiling + pandoc +RTS -p -RTS [file]... + less pandoc.prof + +With stack: + + stack clean + stack install --profile + pandoc +RTS -p -RTS [file]... + less pandoc.prof + The code -------- -- cgit v1.2.3