mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-28 01:13:34 +03:00
Increase the size of the garbage collector nursery to 64m.
This greatly increases mutator productivity, and thus provides significant speedups on some examples. The tradeoff with larger nurseries is the potential for long GC pause times. This is probably acceptable tradeoff for a tool like Cryptol, despite the potential for unresponsiveness at the REPL.
This commit is contained in:
parent
b1b7b8b599
commit
2e15d4f443
@ -200,7 +200,7 @@ executable cryptol
|
||||
, sbv
|
||||
, tf-random
|
||||
, transformers
|
||||
GHC-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N1
|
||||
GHC-options: -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N1 -A64m"
|
||||
if impl(ghc >= 8.0.1)
|
||||
ghc-options: -Wno-redundant-constraints
|
||||
ghc-prof-options: -auto-all -rtsopts
|
||||
@ -214,7 +214,7 @@ executable cryptol-server
|
||||
other-modules: Cryptol.Aeson
|
||||
default-language: Haskell2010
|
||||
default-extensions: OverloadedStrings
|
||||
GHC-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N1
|
||||
GHC-options: -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N1 -A64m"
|
||||
if impl(ghc >= 8.0.1)
|
||||
ghc-options: -Wno-redundant-constraints
|
||||
ghc-prof-options: -auto-all -rtsopts
|
||||
@ -244,7 +244,7 @@ benchmark cryptol-bench
|
||||
main-is: Main.hs
|
||||
hs-source-dirs: bench
|
||||
default-language: Haskell2010
|
||||
GHC-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
|
||||
GHC-options: -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N1 -A64m"
|
||||
if impl(ghc >= 8.0.1)
|
||||
ghc-options: -Wno-redundant-constraints
|
||||
ghc-prof-options: -auto-all -rtsopts
|
||||
|
Loading…
Reference in New Issue
Block a user