Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 20F4E40DDF7 for ; Sat, 13 Nov 2010 03:04:02 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 3.459 X-Spam-Level: *** X-Spam-Status: No, score=3.459 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_IN_ADDRARPA=2.157, RCVD_IN_RP_RNBL=1.31, RDNS_DYNAMIC=0.982, TO_NO_BRKTS_DYNIP=1, T_MIME_NO_TEXT=0.01] autolearn=no Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oqgkNd05EKFt for ; Sat, 13 Nov 2010 03:03:51 -0800 (PST) Received: from silentio.fernseed.info (202.4.169.217.in-addr.arpa [217.169.4.202]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C895E40DDCB for ; Sat, 13 Nov 2010 03:03:50 -0800 (PST) Received: from localhost (bookbinder.fernseed.info [IPv6:2001:8b0:ff94:1:224:2cff:fe37:838b]) (Authenticated sender: darren) by silentio.fernseed.info (Postfix) with ESMTPSA id 95500404; Sat, 13 Nov 2010 11:03:48 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fernseed.info; s=default; t=1289646228; bh=Rcf09sY7g80s07MS9qR2TKmQIT1PbPwOwr7Wd0hWq/U=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=jaLp0N5YLKoVhAhtJzOOMfZW2PGz26tDbWsZLEVMtdsZDmtujku2IBq9q9rZVMkhC CEnkOVEdyEinW16YI+T2eZYlkTHvhfYRvpayq1mXfl1mYqsIhnVx7FeTyGiA84OonU bfRL3FEsCWsdCaJQHO91bLk2WpY15INPKRLKYF8M= From: Darren McGuicken To: Michal Sojka , Matthieu Lemerre , notmuch@notmuchmail.org Subject: Re: [PATCH] How to improve the mail handling workflow? In-Reply-To: <87sjz5pxkp.fsf@steelpick.2x.cz> References: <87fwv65zw1.fsf@free.fr> <87sjz6ft52.fsf@bookbinder.fernseed.info> <87sjz5pxkp.fsf@steelpick.2x.cz> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Sat, 13 Nov 2010 11:03:47 +0000 Message-ID: <87hbflwkmk.fsf@bookbinder.fernseed.info> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 11:04:02 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 13 Nov 2010 07:05:58 +0100, Michal Sojka wrot= e: > I agree with you in that in many cases tags can be replaced by saved > searches. Last time I did it, i.e. used saved searches to distinguish > messages from different mailing lists, the result was that it took > very long time (something like 5 seconds) to show notmuch-hello Interesting, what Xapian backend are you using? I moved to chert after id:"87ocl1lut1.fsf@yoom.home.cworth.org" and my notmuch-hello with 15 saved searches appears in a couple of seconds when freshly loaded, faster when switching back to it after use. That may well be slower than just tag searches but it's not yet at a threshold where I notice it. How many searches had you saved? > Additionally, I compared the speed of command line searches for tags > and for the whole email addresses and even without the bug mentioned > above, the search for to: is usually slower than the search for tag:. Very non-scientifically just using time and vm/drop_caches on my netbook, having tagged all mail sent to the list address with 'notmuch', I seem to get much the same performance: $ time notmuch search tag:notmuch > /dev/null real 0m21.074s user 0m4.740s=20=20=20=20 sys 0m1.916s $ time notmuch search to:notmuch > /dev/null real 0m20.280s user 0m4.600s sys 0m2.048s $ time notmuch search to:notmuch@notmuchmail.org > /dev/null real 0m21.790s user 0m5.044s sys 0m2.008s --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzecJMACgkQP1ao/7snsT52TQCeIHOlOF4p8Xe4m20z4Ob8s0Qn qt0AoJuGcorz+/xUmXfWP00Hn9AECp4A =CATV -----END PGP SIGNATURE----- --=-=-=--