Re: [PATCH] emacs: address completion, allow sender/recipient and filters
[notmuch-archives.git] / 6c / 9b838c9d21ac7dac256133f73507636ce91e2c
1 Return-Path: <webservice@bontempi.net>\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 olra.theworths.org (Postfix) with ESMTP id ACB6E431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 31 Oct 2011 04:44:49 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[UNPARSEABLE_RELAY=0.001] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id ehvOSf8KvHZh for <notmuch@notmuchmail.org>;\r
16         Mon, 31 Oct 2011 04:44:47 -0700 (PDT)\r
17 Received: from mail.forumcivico.org (mail.forumcivico.org [208.116.44.169])\r
18         by olra.theworths.org (Postfix) with ESMTP id C4B47431FB6\r
19         for <notmuch@notmuchmail.org>; Mon, 31 Oct 2011 04:44:47 -0700 (PDT)\r
20 Received: from dummy.name; Mon, 31 Oct 2011 07:39:35 -0400\r
21 Content-Type: text/plain; charset=us-ascii\r
22 Subject: Displaying tags with many messages very slow in Emacs\r
23 Mime-Version: 1.0\r
24 From: webservice@bontempi.net\r
25 X-Mailer: CommuniGate Pro WebUser v5.4.0\r
26 Date: Mon, 31 Oct 2011 12:44:31 +0100\r
27 Content-Transfer-Encoding: quoted-printable\r
28 Message-Id: <B676D1F6-04DD-49A9-8284-5CF17D6C4602@bontempi.net>\r
29 To: notmuch@notmuchmail.org\r
30 X-BeenThere: notmuch@notmuchmail.org\r
31 X-Mailman-Version: 2.1.13\r
32 Precedence: list\r
33 List-Id: "Use and development of the notmuch mail system."\r
34         <notmuch.notmuchmail.org>\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
36         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
38 List-Post: <mailto:notmuch@notmuchmail.org>\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
42 X-List-Received-Date: Mon, 31 Oct 2011 11:44:49 -0000\r
43 \r
44 Hello,\r
45 \r
46 I am planning to have some tags with more than 10k messages, and I am =\r
47 experiencing very slow list display in emacs.\r
48 \r
49 Installation on OS X 10.6, using brew: notmuch 0.9, chert database =\r
50 format. Emacs 24.0.90.1 on iMac, intel 2.8 Ghz i7, 8Gb ram.\r
51 \r
52 Testing 'notmuch new' on a Maildir folder with about 30000 messages =\r
53 (about one fourth of my archive).\r
54 \r
55 At beginning notmuch was indexing about 200 msgs/sec. The more it =\r
56 indexed, the slower it became. After about 20000 msgs it slowed down to =\r
57 70 msgs/sec. I am not sure if that is a behaviour due to Xapian.\r
58 \r
59 Anyway, after initial indexing, starting notmuch from emacs, I have:\r
60 \r
61 "Welcome to notmuch. You have 34,366 messages."\r
62 \r
63 Once I start browsing the inbox (34,208), Emacs displays the initial =\r
64 screenful, but the whole list takes quite a while to load, about 2 =\r
65 minutes. After that time, in the status bar I see "Top of 2M".\r
66 \r
67 That happens every time I am browsing the inbox, in order to assign =\r
68 proper tags.\r
69 \r
70 The real issue, though, is that scrolling down the list has a noticeable =\r
71 delay, enough to make it basically unusable.\r
72 \r
73 Is there something I do not know that I should do to improve that speed =\r
74 (either from within Emacs, or in notmuch config file?\r
75 \r
76 I would be very grateful for any advice or pointer on how to speed up =\r
77 the notmuch experience.\r
78 \r
79 \r
80 Thank you,\r
81 \r
82 Sam=\r