From dbfb2e1353ead19b99b01ac4a8cd4f0328a246cb Mon Sep 17 00:00:00 2001 From: Bryan O'Sullivan Date: Mon, 8 Dec 2014 22:42:45 -0800 Subject: 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 --- pandoc.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3