Re: emacs / vim - time taken to open threads

Subject: Re: emacs / vim - time taken to open threads

Date: Sat, 11 Apr 2015 19:09:36 +0100

To: David Bremner


From: Matthew Lear

On 01/04/15 05:08, David Bremner wrote:
> Matthew Lear <> 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
> [1]
> [1]

Sorry for the late reply. That has definitely made an improvement.
Opening a large thread takes much less time with the patch applied.
--  Matt