From: David Bremner <david@tethera.net>
To: Rainer Gemulla <hqn1@gmx.de>, notmuch@notmuchmail.org
Subject: Re: notmuch-show-mode: slowdown due to redisplay
Date: Tue, 07 Dec 2021 12:56:43 -0400 [thread overview]
Message-ID: <87a6hcwdys.fsf@tethera.net> (raw)
In-Reply-To: <878rww7qty.fsf@macho>
Rainer Gemulla <hqn1@gmx.de> writes:
> Navigating certain messages (e.g., with many attachments or images)
> may become very slow in notmuch-show-mode. I see this rarely, but when
> it happens, it takes >1s to simply move the point so that the buffer
> is barely usable. The CPU profiler shows that
> notmuch-show-command-hook calls redisplay and that's that all where
> the time goes. Not sure if anything can be done about this.
Hmm. Hard to debug without a sample message, or a more definite
pattern. Do you notice a threshold in terms of numbers of attachements?
I can imagine there is some bad behaviour involving large numbers of
buttons when running redisplay.
d
next prev parent reply other threads:[~2021-12-07 16:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-07 8:38 notmuch-show-mode: slowdown due to redisplay Rainer Gemulla
2021-12-07 16:56 ` David Bremner [this message]
2021-12-08 11:15 ` Rainer Gemulla
2021-12-08 14:23 ` David Bremner
2021-12-08 15:14 ` Rainer Gemulla
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6hcwdys.fsf@tethera.net \
--to=david@tethera.net \
--cc=hqn1@gmx.de \
--cc=notmuch@notmuchmail.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 public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).