X-Envelope-From: notmuch-bounces@notmuchmail.org  Sat Aug 15 17:36:29 2026
Return-Path: <notmuch-bounces@notmuchmail.org>
X-Original-To: nmbug@yantan.tethera.net
Delivered-To: nmbug@yantan.tethera.net
Received: from yantan.tethera.net (localhost [127.0.0.1])
	by mail.notmuchmail.org (Postfix) with ESMTP id A55325F890;
	Sat, 15 Aug 2026 17:36:29 +0000 (UTC)
Received: from phubs.tethera.net (phubs.tethera.net [192.99.9.157])
	by mail.notmuchmail.org (Postfix) with ESMTPS id F26C75F882
	for <notmuch@notmuchmail.org>; Sat, 15 Aug 2026 17:36:26 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net;
 i=@tethera.net; q=dns/txt; s=2024; t=1786815385; h=from : to : subject
 : in-reply-to : references : date : message-id : mime-version :
 content-type : from; bh=TUVe0xqdnbkGNCWUkwGCLdyUMOF0fZxQhDoV4FjQJro=;
 b=RtctHwJZgymEsdZ5DXUD0/kD3QvEkPZ8rg0pHVXOQfFIMJqllkKlorYQMUweLUUOO6lRH
 +jS/5jrShMMeRd/0DdPB536EyKAxVdH0BpWga29BwVJFbcyt/Zmp79D8cYgr5WPrDVz2L62
 R/OEUBD0OtVCOLCX+N+oNyBWD8axMoVHczc5DNpEMSKWETbRqD7dE0UfwAFYNBmgEgSMHiY
 ovh78WpBTmKTBUTiyybMTRnX4TfEWCRk0PK3aXFWq/dJdQLfm9CPs4KaHUYnCQmz0T59rxY
 UyxR7ovXlQha4Q2vwWvCOYYQ/Cm00Y78/eS8Sf8gJRbQ0TRSH3prJFSlf2Ng==
Received: from tethera.net (fctnnbsc38w-142-162-53-181.dhcp-dynamic.fibreop.nb.bellaliant.net [142.162.53.181])
	by phubs.tethera.net (Postfix) with ESMTPS id AD4271800F7;
	Sat, 15 Aug 2026 14:36:24 -0300 (ADT)
Received: (nullmailer pid 893397 invoked by uid 1000);
	Sat, 15 Aug 2026 17:36:16 -0000
From: David Bremner <david@tethera.net>
To: Anton Khirnov <anton@khirnov.net>, notmuch@notmuchmail.org
Subject: Re: [PATCH v5 0/6] indexing attachment contents
In-Reply-To: <20260815140127.26199-2-anton@khirnov.net>
References: <20260815140127.26199-2-anton@khirnov.net>
Date: Sat, 15 Aug 2026 14:36:16 -0300
Message-ID: <874igv9tgv.fsf@tethera.net>
MIME-Version: 1.0
Message-ID-Hash: DGBOXJWL6EGJ5O77WGYLWHCEPZJM32BB
X-Message-ID-Hash: DGBOXJWL6EGJ5O77WGYLWHCEPZJM32BB
X-MailFrom: david@tethera.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.3
Precedence: list
List-Id: "Use and development of the notmuch mail system." <notmuch.notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Owner: <mailto:notmuch-owner@notmuchmail.org>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Subscribe: <mailto:notmuch-join@notmuchmail.org>
List-Unsubscribe: <mailto:notmuch-leave@notmuchmail.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Anton Khirnov <anton@khirnov.net> writes:

> Hi,
> another iteration of the set adding support for indexing attachment
> contents. I believe I've addressed all the review comments from the
> previous round [1].
>
> The first patch now contains a simple performance test that runs reindex
> on all emails with attachments - twice with no filter, and once with a
> trivial /bin/true filter. By placing the test early in the series it is
> easy to see that the following patches do not make the filter-less runs
> slower.

Thanks for humouring me and doing the performance test.

>
> As for the run with the filter, the test does show that the fork
> overhead is susbtantial, especially with larger database sizes. As per
> previous discussion I believe the cost is acceptable, since the
> alternative (a persistent filter daemon) would be far more complex
> with
> regards to both implementation and administration.

Yeah, I think it's a tradeoff individual users can make.

>  doc/examples/README.filter.rst              |  23 ++
>  doc/examples/bwrap.sh                       |   9 +
>  doc/examples/filter.py                      | 385 ++++++++++++++++++'

It seems that doc/examples/firejail.profile went missing at some point
(also missing in v4)

Other than that looks good (I'll need to update the debian packaging,
to install the examples but that's a me problem).
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
