unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* speed of notmuch show --verify
@ 2021-12-24 12:45 David Bremner
  0 siblings, 0 replies; only message in thread
From: David Bremner @ 2021-12-24 12:45 UTC (permalink / raw)
  To: notmuch; +Cc: Daniel Kahn Gillmor


I was tracking down some performance issues in the display of long
threads, and I eventually realized the problem was actually in the
notmuch CLI. I'm not sure if this is fixable, but basically the calls to
gpg are very slow when running "notmuch show --verify".  On a 114
message thread (with 39 signed messages) from the Debian BTS, --verify
makes the elapsed time go from .03s to 1.54s. Perf shows most of the
"hot" symbols are in gpg or in the kernel called from gpg.

I guess a lazy inserting approach in notmuch-emacs might help this as
well, since we don't need to verify the signatures of messages we don't
read.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-24 12:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-24 12:45 speed of notmuch show --verify David Bremner

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).