1 Return-Path: <sojkam1@fel.cvut.cz>
\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 EFBAF42D280
\r
6 for <notmuch@notmuchmail.org>; Fri, 21 Jan 2011 01:59:48 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 5mjz1qgp7CbH for <notmuch@notmuchmail.org>;
\r
16 Fri, 21 Jan 2011 01:59:47 -0800 (PST)
\r
17 Received: from mail.loccal.net (gw.loccal.net [94.142.235.206])
\r
18 by olra.theworths.org (Postfix) with ESMTP id BEE65431FD0
\r
19 for <notmuch@notmuchmail.org>; Fri, 21 Jan 2011 01:59:47 -0800 (PST)
\r
20 Received: from localhost (localhost [127.0.0.1])
\r
21 by mail.loccal.net (Postfix) with ESMTP id 450AD1BDB6;
\r
22 Fri, 21 Jan 2011 11:12:22 +0100 (CET)
\r
23 X-Virus-Scanned: amavisd-new at loccal.net
\r
24 Received: from mail.loccal.net ([127.0.0.1])
\r
25 by localhost (mail.loccal.net [127.0.0.1]) (amavisd-new, port 10024)
\r
26 with LMTP id x8E-JdeMzPYO; Fri, 21 Jan 2011 11:12:18 +0100 (CET)
\r
27 Received: from steelpick.2x.cz (unknown [10.21.129.4])
\r
28 by mail.loccal.net (Postfix) with ESMTPS id BBDFB563D;
\r
29 Fri, 21 Jan 2011 11:12:18 +0100 (CET)
\r
30 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)
\r
31 (envelope-from <sojkam1@fel.cvut.cz>)
\r
32 id 1PgDmO-0003je-D9; Fri, 21 Jan 2011 10:59:40 +0100
\r
33 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
34 To: notmuch@notmuchmail.org
\r
35 Subject: [PATCH 0/3] Speedups and enhancements of notmuch new
\r
36 Date: Fri, 21 Jan 2011 10:59:33 +0100
\r
37 Message-Id: <1295603977-14326-1-git-send-email-sojkam1@fel.cvut.cz>
\r
38 X-Mailer: git-send-email 1.7.2.3
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.13
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Fri, 21 Jan 2011 09:59:49 -0000
\r
55 after yesterday discussion on IRC I looked at some ways how to speedup
\r
56 the initial run of notmuch new. It turned out that with a few pretty
\r
57 simple changes I'm able to reduce the time by about 30% (from 1h 46m
\r
58 to 1h 14m on ext4, 200k messages, 3GB).
\r
63 new: Do not defer maildir flag synchronization during the first run
\r
64 new: Add all initial tags at once
\r
65 new: Enhance progress reporting
\r
67 notmuch-new.c | 194 +++++++++++++++++++++++++++++++++++++--------------------
\r
68 1 files changed, 126 insertions(+), 68 deletions(-)
\r