Commit 57cfa03c authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Andrey Mokhov

Disable parallel garbage collection (#385)

This brings productivity from roughly 40% to 95%. With parallel GC we generally
spend much of our time synchronizing between the GC threads and relatively
little time doing productive work.
parent 227d8d7d
......@@ -133,5 +133,11 @@ executable hadrian
, happy >= 1.19.4
ghc-options: -Wall
-fno-warn-name-shadowing
-rtsopts -with-rtsopts=-I0
-rtsopts
-- Disable idle GC to avoid redundant GCs while waiting
-- for external processes
-with-rtsopts=-I0
-- Don't use parallel GC as the synchronization time tends to eat any
-- benefit.
-with-rtsopts=-qg0
-threaded
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment