2006-12-31 18:53:44 +01:00
|
|
|
To use the GHC profiler:
|
|
|
|
|
2007-08-15 17:34:26 +02:00
|
|
|
first, add -auto-all to ghc-options in pandoc.cabal. then
|
|
|
|
|
2007-07-22 22:27:06 +02:00
|
|
|
make clean
|
2007-08-15 17:34:26 +02:00
|
|
|
make templates
|
2007-07-22 22:27:06 +02:00
|
|
|
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
|