1 Return-Path: <matt@bubblegen.co.uk>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 65C5C6DE1585
\r
6 for <notmuch@notmuchmail.org>; Sat, 11 Apr 2015 11:21:13 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.98 tagged_above=-999 required=5 tests=[AWL=0.980]
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 18lIUDALymHz for <notmuch@notmuchmail.org>;
\r
16 Sat, 11 Apr 2015 11:21:10 -0700 (PDT)
\r
17 X-Greylist: delayed 583 seconds by postgrey-1.35 at arlo;
\r
18 Sat, 11 Apr 2015 11:21:10 PDT
\r
19 Received: from sip.bubblegen.co.uk (bubblegen.plus.com [80.229.236.194])
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id AEB366DE1583
\r
21 for <notmuch@notmuchmail.org>; Sat, 11 Apr 2015 11:21:10 -0700 (PDT)
\r
22 Message-ID: <55296360.1040208@bubblegen.co.uk>
\r
23 Date: Sat, 11 Apr 2015 19:09:36 +0100
\r
24 From: Matthew Lear <matt@bubblegen.co.uk>
\r
26 To: David Bremner <david@tethera.net>
\r
27 Subject: Re: emacs / vim - time taken to open threads
\r
28 References: <5511DE10.80107@bubblegen.co.uk>
\r
29 <87384u6lgb.fsf@maritornes.cs.unb.ca> <m2d23xv7e8.fsf@guru.guru-group.fi>
\r
30 <49796ef89d505ab1039478982568a0b9.squirrel@webmail.plus.net>
\r
31 <87pp7o4hjc.fsf@maritornes.cs.unb.ca>
\r
32 In-Reply-To: <87pp7o4hjc.fsf@maritornes.cs.unb.ca>
\r
33 Content-Type: text/plain; charset=utf-8
\r
34 Content-Transfer-Encoding: 7bit
\r
35 Cc: notmuch@notmuchmail.org
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.18
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Sat, 11 Apr 2015 18:21:13 -0000
\r
50 On 01/04/15 05:08, David Bremner wrote:
\r
51 > Matthew Lear <matt@bubblegen.co.uk> writes:
\r
53 >> Here's two attachments obtained using the in-built profiler in emacs 24 -
\r
54 >> one for memory profiling and one for cpu. This particular thread took > 30
\r
55 >> secs to load and emacs was locked up the entire time. I'm no lisp expert,
\r
56 >> but perhaps somebody could interpret this and possible suggest what could
\r
57 >> be going on..? W.r.t. both cpu and memory usage, quite a lot of time seems
\r
58 >> to be spent in indent-rigidly and notmuch-show-insert-thread.
\r
61 > That's consistent with what I've seen with very large text attachements.
\r
62 > Can you try the patch
\r
64 > id:1427540939-10055-1-git-send-email-markwalters1009@gmail.com [1]
\r
66 > [1] http://mid.gmane.org/1427540939-10055-1-git-send-email-markwalters1009@gmail.com
\r
69 Sorry for the late reply. That has definitely made an improvement.
\r
70 Opening a large thread takes much less time with the patch applied.
\r