[PATCH 0/3] Speedups and enhancements of notmuch new
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 21 Jan 2011 09:59:33 +0000 (10:59 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:44 +0000 (09:37 -0800)
f3/a137e2b103ac4d2d7461dd88aea289fb4a2a0c [new file with mode: 0644]

diff --git a/f3/a137e2b103ac4d2d7461dd88aea289fb4a2a0c b/f3/a137e2b103ac4d2d7461dd88aea289fb4a2a0c
new file mode 100644 (file)
index 0000000..5ff1ee7
--- /dev/null
@@ -0,0 +1,72 @@
+Return-Path: <sojkam1@fel.cvut.cz>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id EFBAF42D280\r
+       for <notmuch@notmuchmail.org>; Fri, 21 Jan 2011 01:59:48 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 5mjz1qgp7CbH for <notmuch@notmuchmail.org>;\r
+       Fri, 21 Jan 2011 01:59:47 -0800 (PST)\r
+Received: from mail.loccal.net (gw.loccal.net [94.142.235.206])\r
+       by olra.theworths.org (Postfix) with ESMTP id BEE65431FD0\r
+       for <notmuch@notmuchmail.org>; Fri, 21 Jan 2011 01:59:47 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by mail.loccal.net (Postfix) with ESMTP id 450AD1BDB6;\r
+       Fri, 21 Jan 2011 11:12:22 +0100 (CET)\r
+X-Virus-Scanned: amavisd-new at loccal.net\r
+Received: from mail.loccal.net ([127.0.0.1])\r
+       by localhost (mail.loccal.net [127.0.0.1]) (amavisd-new, port 10024)\r
+       with LMTP id x8E-JdeMzPYO; Fri, 21 Jan 2011 11:12:18 +0100 (CET)\r
+Received: from steelpick.2x.cz (unknown [10.21.129.4])\r
+       by mail.loccal.net (Postfix) with ESMTPS id BBDFB563D;\r
+       Fri, 21 Jan 2011 11:12:18 +0100 (CET)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1PgDmO-0003je-D9; Fri, 21 Jan 2011 10:59:40 +0100\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] Speedups and enhancements of notmuch new\r
+Date: Fri, 21 Jan 2011 10:59:33 +0100\r
+Message-Id: <1295603977-14326-1-git-send-email-sojkam1@fel.cvut.cz>\r
+X-Mailer: git-send-email 1.7.2.3\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 21 Jan 2011 09:59:49 -0000\r
+\r
+Hi all,\r
+\r
+after yesterday discussion on IRC I looked at some ways how to speedup\r
+the initial run of notmuch new. It turned out that with a few pretty\r
+simple changes I'm able to reduce the time by about 30% (from 1h 46m\r
+to 1h 14m on ext4, 200k messages, 3GB).\r
+\r
+-Michal\r
+\r
+Michal Sojka (3):\r
+  new: Do not defer maildir flag synchronization during the first run\r
+  new: Add all initial tags at once\r
+  new: Enhance progress reporting\r
+\r
+ notmuch-new.c |  194 +++++++++++++++++++++++++++++++++++++--------------------\r
+ 1 files changed, 126 insertions(+), 68 deletions(-)\r
+\r
+-- \r
+1.7.2.3\r
+\r