emacs / vim - time taken to open threads

Matthew Lear matt at bubblegen.co.uk
Wed Mar 25 04:21:06 PDT 2015


>> My experience is that the emacs interface is faster than the vim one.
>> At least I don't have an examples handy where emacs is slower than the
>> vim interface at rendering a thread. At a wild guess, I suspect it has
>> to do with how many attachments there are, and the emacs UI being
>> overenthusiastic about processing attachements.
>
> I've seen over 15 seconds of load time when opening some 20+ message
> thread -- and jumping through messages has been slow in emacs ui.

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.

Cheers,
--  Matt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpu.txt
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20150325/f857eb77/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mem.txt
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20150325/f857eb77/attachment-0001.txt>


More information about the notmuch mailing list