unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Matthew Lear <matt@bubblegen.co.uk>
Cc: notmuch@notmuchmail.org
Subject: Re: emacs / vim - time taken to open threads
Date: Wed, 01 Apr 2015 06:08:23 +0200	[thread overview]
Message-ID: <87pp7o4hjc.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <49796ef89d505ab1039478982568a0b9.squirrel@webmail.plus.net>

Matthew Lear <matt@bubblegen.co.uk> writes:

> Here's two attachments obtained using the in-built profiler in emacs 24 -
> one for memory profiling and one for cpu. This particular thread took > 30
> secs to load and emacs was locked up the entire time. I'm no lisp expert,
> but perhaps somebody could interpret this and possible suggest what could
> be going on..? W.r.t. both cpu and memory usage, quite a lot of time seems
> to be spent in indent-rigidly and notmuch-show-insert-thread.
>

That's consistent with what I've seen with very large text attachements.
Can you try the patch

    id:1427540939-10055-1-git-send-email-markwalters1009@gmail.com [1]

[1] http://mid.gmane.org/1427540939-10055-1-git-send-email-markwalters1009@gmail.com

  reply	other threads:[~2015-04-03 23:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 21:58 emacs / vim - time taken to open threads Matthew Lear
2015-03-24 23:10 ` David Bremner
2015-03-25  7:54   ` Tomi Ollila
2015-03-25 11:21     ` Matthew Lear
2015-04-01  4:08       ` David Bremner [this message]
2015-04-11 18:09         ` Matthew Lear

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=87pp7o4hjc.fsf@maritornes.cs.unb.ca \
    --to=david@tethera.net \
    --cc=matt@bubblegen.co.uk \
    --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).