[Git][ghc/ghc][master] Revert "Set default eventlog-flush-interval to 5s"
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 161d3285 by Teo Camarasu at 2026-03-26T03:56:18-04:00 Revert "Set default eventlog-flush-interval to 5s" Flushing the eventlog forces a synchronisation of all the capabilities and there was a worry that this might lead to a performance cost for some highly parallel workloads. This reverts commit 66b96e2a591d8e3d60e74af3671344dfe4061cf2. - - - - - 2 changed files: - docs/users_guide/9.16.1-notes.rst - rts/RtsFlags.c Changes: ===================================== docs/users_guide/9.16.1-notes.rst ===================================== @@ -142,8 +142,6 @@ Runtime system kqueue). This first one, based on `poll()`, is merely intended to be portable. -- The default for :rts-flag:`--eventlog-flush-interval=⟨seconds⟩` has changed from being disabled to being enabled with a flush inverval of 5 seconds. - Cmm ~~~ ===================================== rts/RtsFlags.c ===================================== @@ -252,7 +252,7 @@ void initRtsFlagsDefaults(void) RtsFlags.TraceFlags.ticky = false; RtsFlags.TraceFlags.trace_output = NULL; # if defined(THREADED_RTS) - RtsFlags.TraceFlags.eventlogFlushTime = SecondsToTime(5); // 5s + RtsFlags.TraceFlags.eventlogFlushTime = 0; # endif RtsFlags.TraceFlags.nullWriter = false; #endif View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/161d3285215e85a9ebb24d798cea9318... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/161d3285215e85a9ebb24d798cea9318... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)