GNU bug report logs - #79738
[macOS] worsening performance with time

Previous Next

Package: emacs;

Reported by: Przemysław Alexander Kamiński <alexander <at> kaminski.se>

Date: Fri, 31 Oct 2025 10:38:01 UTC

Severity: normal

To reply to this bug, email your comments to 79738 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#79738; Package emacs. (Fri, 31 Oct 2025 10:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Przemysław Alexander Kamiński <alexander <at> kaminski.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 31 Oct 2025 10:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Przemysław Alexander Kamiński
 <alexander <at> kaminski.se>
To: bug-gnu-emacs <at> gnu.org
Subject: [macOS] worsening performance with time
Date: Fri, 31 Oct 2025 11:36:24 +0100
This is followup/bug-report to discussion in: 
https://lists.gnu.org/archive/html/emacs-devel/2025-10/threads.html#00727 

macOS NS build performance gets worse over time. The issue seems 
to be a systemic one - multiple factors could be at play. 

Investigated causes so far: - Memory leaks (fixed: a few found, 
patched) - Unbounded rendering (ongoing) - VSIZE bloat - /TLB 
thrashing?/  (ongoing) - NS specific architecture impact (ongoing) 
- Memory configuration specificity (ongoing) - Side effects of 
NS-specific code, e.g., autoreleasepools (ongoing) - Extra 
calculations (ongoing, few found)  I have a few patches, which 
I'll submit as separately to tracker for discussion. However, in 
order to resolve them, I believe the following course of action is 
needed:  - Repro case
- Integration tests / benchmarks (external, maybe one that 
 includes 
 actual rendering and maybe even keypress processing) 

--  Przemysław Alexander Kamiński (vel xlii vel exlee) 
https://xlii.space  ||  https://codeberg.org/exlee 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79738; Package emacs. (Tue, 04 Nov 2025 08:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 79738 <at> debbugs.gnu.org (full text, mbox):

From: Rudolf Adamkovič <rudolf <at> adamkovic.org>
To: Przemysław Alexander Kamiński
 <alexander <at> kaminski.se>, 79738 <at> debbugs.gnu.org
Subject: Re: bug#79738: [macOS] worsening performance with time
Date: Tue, 04 Nov 2025 08:12:58 +0100
Przemysław Alexander Kamiński <alexander <at> kaminski.se> writes:

> Investigated causes so far: - Memory leaks (fixed: a few found, 
> patched) - Unbounded rendering (ongoing) - VSIZE bloat - /TLB 
> thrashing?/  (ongoing) - NS specific architecture impact (ongoing) 
> - Memory configuration specificity (ongoing) - Side effects of 
> NS-specific code, e.g., autoreleasepools (ongoing) - Extra 
> calculations (ongoing, few found)  I have a few patches, which 
> I'll submit as separately to tracker for discussion.

Thank you for improving the NS port, Przemysław!

Rudy
-- 
"I love deadlines.  I love the whooshing noise they make as they go by."

--- Douglas Adams, The Salmon of Doubt, 2002

Rudolf Adamkovič <rudolf <at> adamkovic.org> [he/him]
http://adamkovic.org




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.