diff options
author | Bryan O'Sullivan <bos@serpentine.com> | 2014-12-08 22:42:45 -0800 |
---|---|---|
committer | Bryan O'Sullivan <bos@serpentine.com> | 2014-12-08 22:42:45 -0800 |
commit | dbfb2e1353ead19b99b01ac4a8cd4f0328a246cb (patch) | |
tree | ffde8a18881366cd6771e84a53865ef3f9ff4c5c /pandoc.cabal | |
parent | 48e2586ec80dd883d83cd57bffcad9c97c1e7599 (diff) | |
download | pandoc-dbfb2e1353ead19b99b01ac4a8cd4f0328a246cb.tar.gz |
Link the test suite using -threaded
This allows the test suite to be run using "+RTS -N".
Doing so improves the performance of the test suite on my quad-core Mac laptop as follows:
Before: 8.2 seconds
After: 2.5 seconds
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index da800ed50..6abc8b0bc 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -449,7 +449,7 @@ Test-Suite test-pandoc Tests.Writers.Plain Tests.Writers.AsciiDoc Tests.Writers.LaTeX - Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded Default-Language: Haskell98 benchmark benchmark-pandoc |