emacs: disable gc mark trace by default
This speeds up garbage collection by ~5%[1] but makes it harder to find GC-related bugs. [1] emacs NEWS.30
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
withCairo ? withX,
|
||||
withCsrc ? true,
|
||||
withDbus ? stdenv.hostPlatform.isLinux,
|
||||
withGcMarkTrace ? false, # increase gc performance for reduced debugability
|
||||
withGTK3 ? withPgtk && !noGui,
|
||||
withGlibNetworking ? withPgtk || withGTK3 || (withX && withXwidgets),
|
||||
withGpm ? stdenv.hostPlatform.isLinux,
|
||||
@@ -408,6 +409,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.withFeature withNS "ns")
|
||||
]
|
||||
++ [
|
||||
(lib.enableFeature withGcMarkTrace "gc-mark-trace")
|
||||
(lib.withFeature withCompressInstall "compress-install")
|
||||
(lib.withFeature withToolkitScrollBars "toolkit-scroll-bars")
|
||||
(lib.withFeature withNativeCompilation "native-compilation")
|
||||
|
||||
Reference in New Issue
Block a user