emacs / vim - time taken to open threads

Matthew Lear matt at bubblegen.co.uk
Sat Apr 11 11:09:36 PDT 2015


On 01/04/15 05:08, David Bremner wrote:
> Matthew Lear <matt at 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 at gmail.com [1]
> 
> [1] http://mid.gmane.org/1427540939-10055-1-git-send-email-markwalters1009@gmail.com
> 

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


More information about the notmuch mailing list