all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonas Damm <mailing@jonas-damm.de>
To: Tassilo Horn <tsdh@gnu.org>
Cc: Jonas Damm <mailing@jonas-damm.de>, help-gnu-emacs@gnu.org
Subject: Re: switch-to-buffer slow on PGTK
Date: Thu, 01 Feb 2024 17:48:11 +0100	[thread overview]
Message-ID: <87plxgcems.fsf@jonas-damm.de> (raw)
In-Reply-To: <87wmrol0xz.fsf@gnu.org>

Currently i have 37 Buffers open. I think thats normal.
My uptime is only a few hours and switch-to-buffer takes already more
then a second.

Tassilo Horn <tsdh@gnu.org> writes:

> Jonas Damm <mailing@jonas-damm.de> writes:
>
> Hi Jonas,
>
>> I am using emacs 30 (GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu,
>> GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-02-01) on Debian
>> Sway (wayland) on a ryzen 3600G with 32G of fast memory.
>>
>> switch-to-buffer gets slower and slower, the longer the
>> machine is running.
>
> How many open buffers do you have?
>
>   M-: (length (buffer-list)) RET
>
> will tell you.  If it's an unusal amount, you can eval
>
>   (dolist (b (buffer-list))
>     (message "%S" (buffer-name b))) <=== C-x C-e here!
>
> in order to print all buffers' names to *Messages*.  My guess is you use
> some package which creates buffers over buffers without cleaning up.
>
> Bye,
> Tassilo




  reply	other threads:[~2024-02-01 16:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01 11:24 switch-to-buffer slow on PGTK Jonas Damm
2024-02-01 14:21 ` Tassilo Horn
2024-02-01 16:48   ` Jonas Damm [this message]
2024-02-01 17:00     ` Tassilo Horn
2024-02-01 17:15       ` Jonas Damm
2024-02-01 17:19         ` Tassilo Horn
2024-02-01 19:51           ` Jonas Damm
2024-02-03 13:27           ` Jonas Damm

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=87plxgcems.fsf@jonas-damm.de \
    --to=mailing@jonas-damm.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tsdh@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.