GNU bug report logs - #77775
30.1; Proced performance

Previous Next

Package: emacs;

Reported by: Rahguzar <rahguzar <at> mailbox.org>

Date: Sun, 13 Apr 2025 07:28:04 UTC

Severity: normal

Found in version 30.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Roland Winkler <winkler <at> gnu.org>
Cc: laurencewarne <at> gmail.com, rahguzar <at> mailbox.org, 77775 <at> debbugs.gnu.org
Subject: bug#77775: 30.1; Proced performance
Date: Sun, 13 Apr 2025 17:26:12 +0300
> From: Roland Winkler <winkler <at> gnu.org>
> Cc: Rahguzar <rahguzar <at> mailbox.org>,  Laurence Warne
>  <laurencewarne <at> gmail.com>,  77775 <at> debbugs.gnu.org
> Date: Sun, 13 Apr 2025 08:49:20 -0500
> 
> On Sun, Apr 13 2025, Eli Zaretskii wrote:
> >>    ;; If none of the alternatives is non-nil, the attribute is ignored
> >>    ;; in the listing.
> >>    (let ((standard-attributes
> >> -         (car (proced-process-attributes (list-system-processes))))
> >> +         (car (proced-process-attributes (last (list-system-processes)))))
> >>          new-format fmi)
> >>      (if (and proced-tree-flag
> >>               (assq 'ppid standard-attributes))
> >> 
> >> (The comment at the start of this diff is outdated)
> 
> Why is this comment outdated?  Previously, proced-format used emacs-pid
> instead of (list-system-processes), which is obviously much faster.

Your attribution is wrong: it wasn't me who wrote that, it was
Rahguzar.

> I haven't been engaged in the development of proced.el for some time.
> But I feel I need to look at the current code more carefully before I
> can comment on this patch (and the problem it is supposed to fix) in a
> meaningful way.

Thanks.




This bug report was last modified 12 days ago.

Previous Next


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