summaryrefslogtreecommitdiff
path: root/PROFILING
blob: 63652583d4011e71ab2e74658f902c9d0ed2819d (plain)
1
2
3
4
5
6
7
8
9
10
To use the GHC profiler:

first, add -auto-all to ghc-options in pandoc.cabal.  then

make clean
make templates
runhaskell Setup.hs configure --enable-library-profiling --enable-executable-profiling
runhaskell Setup.hs build
dist/build/pandoc/pandoc +RTS -p -RTS [file]...
less pandoc.prof