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
commitdbfb2e1353ead19b99b01ac4a8cd4f0328a246cb
authorBryan O'Sullivan <bos@serpentine.com>
dateMon 8 Dec 2014, 22:42 (12 years ago)
parent48e2586
pandoc.cabal+1−1
@@ -449,7 +449,7 @@ Test-Suite test-pandoc
449449 Tests.Writers.Plain
450450 Tests.Writers.AsciiDoc
451451 Tests.Writers.LaTeX
452− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
452+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
453453 Default-Language: Haskell98
454454
455455benchmark benchmark-pandoc