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
This commit is contained in:
parent
48e2586ec8
commit
dbfb2e1353
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue