From c3e999a02e9ad792b41632f32681d91a23015aa7 Mon Sep 17 00:00:00 2001 From: Peter Oliver Date: Feb 24 2025 20:56:15 +0000 Subject: Disable GC mark trace buffer for about 5% better GC performance. --- diff --git a/emacs.spec b/emacs.spec index dccd04a..08aba83 100644 --- a/emacs.spec +++ b/emacs.spec @@ -309,7 +309,9 @@ export CFLAGS="-DMAIL_USE_LOCKF %{build_cflags}" %if %{with lucid} # Build Lucid binary cd build-lucid -%configure --program-suffix=-lucid \ +%configure \ + --disable-gc-mark-trace \ + --program-suffix=-lucid \ --with-cairo \ --with-dbus \ --with-gif \ @@ -337,7 +339,9 @@ cd .. %if %{with nw} # Build binary without X support cd build-nw -%configure --program-suffix=-nw \ +%configure \ + --disable-gc-mark-trace \ + --program-suffix=-nw \ --with-modules \ --with-native-compilation=aot \ --with-sqlite3 \ @@ -355,7 +359,9 @@ cd .. %if %{with gtkx11} # Build GTK/X11 binary cd build-gtk+x11 -%configure --program-suffix=-gtk+x11 \ +%configure \ + --disable-gc-mark-trace \ + --program-suffix=-gtk+x11 \ --with-cairo \ --with-dbus \ --with-gif \ @@ -381,7 +387,9 @@ cd .. # Build pure GTK binary cd build-pgtk -%configure --with-cairo \ +%configure \ + --disable-gc-mark-trace \ + --with-cairo \ --with-dbus \ --with-gif \ --with-gpm=no \