From: Len Trigg <lenbok@gmail.com>
To: rms@gnu.org
Cc: 122@emacsbugs.donarmstrong.com, cyd@stupidchicken.com,
bug-gnu-emacs@gnu.org, handa@m17n.org
Subject: bug#122: 23.0.60; Slowdown in directory scanning over time.
Date: Fri, 12 Sep 2008 10:35:59 +1200 [thread overview]
Message-ID: <hbsks6pay8.wl%len@netvalue.net.nz> (raw)
In-Reply-To: <E1KdpeJ-0004Sb-Oj@fencepost.gnu.org>
At Thu, 11 Sep 2008 13:08:07 -0400,
Richard M. Stallman wrote:
>
> The calls seem to be in a fairly even balance of mixture of
> Fget_buffer and Fgarbage_collect. Why creating a list of files in a
> directory should be calling get_buffer is beyond me.
>
> The backtrace shows why. It is making a new code-conversion buffer.
Yes, but as an emacs user (rather than programmer), I think of buffers
as being fairly heavyweight things (after all, they contain all the
text I'm editing, and a typical user probably only has a few dozen
open), compared to calling some kind of straight string conversion
function. Perhaps that is an invalid assumption and buffers are
lightweight.
> There must be a bug in the logic that decides whether to make a new
> code-conversion buffer, so that it makes too many of them.
It seems this is likely to be the problem. This morning there are 225
code-conversion-work buffers hanging around, and my directory listing
takes 11 seconds.
Cheers,
Len.
next prev parent reply other threads:[~2008-09-11 22:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 22:29 bug#122: 23.0.60; Slowdown in directory scanning over time Chong Yidong
2008-08-27 3:02 ` Len Trigg
2008-08-31 21:57 ` Len Trigg
2008-09-02 1:09 ` Richard M. Stallman
2008-09-11 3:29 ` Len Trigg
2008-09-11 4:18 ` Chong Yidong
[not found] ` <E1KdpeJ-0004Sb-Oj@fencepost.gnu.org>
2008-09-11 22:35 ` Len Trigg [this message]
2008-09-12 0:42 ` Chong Yidong
2008-09-12 4:00 ` Len Trigg
2008-09-14 21:24 ` Len Trigg
2008-09-15 1:04 ` Kenichi Handa
2008-09-15 2:42 ` Len Trigg
2008-09-15 18:26 ` Richard M. Stallman
2008-09-16 1:09 ` Kenichi Handa
2008-09-16 16:18 ` Richard M. Stallman
2008-09-15 18:26 ` Richard M. Stallman
2008-09-16 1:27 ` Kenichi Handa
2008-09-16 13:25 ` Stefan Monnier
2008-09-17 2:19 ` Kenichi Handa
2008-09-17 16:02 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=hbsks6pay8.wl%len@netvalue.net.nz \
--to=lenbok@gmail.com \
--cc=122@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=cyd@stupidchicken.com \
--cc=handa@m17n.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.