unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: [PATCH 1/3] perf-test/emacs: test showing a longish thread
Date: Sun,  5 Jun 2022 14:08:49 -0300	[thread overview]
Message-ID: <20220605170851.1595387-2-david@tethera.net> (raw)
In-Reply-To: <20220605170851.1595387-1-david@tethera.net>

This particular thread takes about 100 times longer to display in
emacs than on the command line.
---
 performance-test/T06-emacs.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/performance-test/T06-emacs.sh b/performance-test/T06-emacs.sh
index 66f0be58..ce04ca17 100755
--- a/performance-test/T06-emacs.sh
+++ b/performance-test/T06-emacs.sh
@@ -18,4 +18,7 @@ time_emacs "tag messages" \
    (notmuch-tag msg (list \"+test\"))
    (notmuch-tag msg (list \"-test\"))))"
 
+time_emacs "show thread" \
+	   '(notmuch-show "thread:{id:tip-4f8219875a0dad2cfad9e93a3fafcd9626db98d2@git.kernel.org}")'
+
 time_done
-- 
2.35.2

  reply	other threads:[~2022-06-05 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-05 17:08 WIP/RFP: lazy body insertion for notmuch-show mode David Bremner
2022-06-05 17:08 ` David Bremner [this message]
2022-06-05 17:08 ` [PATCH 2/3] emacs/show: optionally insert bodies lazily David Bremner
2022-06-05 17:08 ` [PATCH 3/3] perf-test/emacs: lazily insert message bodies with notmuch-show David Bremner

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=20220605170851.1595387-2-david@tethera.net \
    --to=david@tethera.net \
    --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).