GNU bug report logs - #66117
30.0.50; `find-buffer-visiting' is slow when opening large number of buffers

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Wed, 20 Sep 2023 08:53:02 UTC

Severity: minor

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 66117 <at> debbugs.gnu.org
Subject: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers
Date: Sun, 08 Oct 2023 12:20:20 +0000
Dmitry Gutov <dmitry <at> gutov.dev> writes:

>> The full memory profile is attached.
>
> That's odd. Do many/any of your files being visited match 
> inhibit-local-variables-suffixes or inhibit-local-variables-regexps?

I used the same reproducer. You can try it on your side if you want.

> This might help a little bit:
>
> -		(not (string-match (car temp) name)))
> +		(not (string-match-p (car temp) name)))

It is the first thing I tried. Nope.

And, as Eli pointed, memory profiler is not measuring consing... So, it
is useless for the purposes of reducing GC time.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




This bug report was last modified 1 year and 135 days ago.

Previous Next


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