speed of notmuch show --verify

Subject: speed of notmuch show --verify

Date: Fri, 24 Dec 2021 08:45:52 -0400

To: notmuch@notmuchmail.org

Cc: Daniel Kahn Gillmor

From: David Bremner


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.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: