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

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
-rtsopts -with-rtsopts=-I0
-- Disable idle GC to avoid redundant GCs while waiting
-- for external processes
-- Don't use parallel GC as the synchronization time tends to eat any
-- benefit.
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