From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6JOHJJTGpmXHOQEAqHPOHw:P1 (envelope-from ) for ; Tue, 16 Jan 2024 19:10:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6JOHJJTGpmXHOQEAqHPOHw (envelope-from ) for ; Tue, 16 Jan 2024 19:10:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=j7kN4HXO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705428628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=llTLqPaQtD162wgrp3JEpx1QtsNfVPcPNTEfLrh2mPc=; b=o7jJxWgRCF4a2EiLhuouKMPnHaSvSOfAW2p7VjBZ6Ao9F8VwjdSsouKJI0ZQMBmgwaeAgt JTpsq3h0mhqBbmYs0/UZIedYkJ0HcqUMs/dZIPiMhtW42uRtDhn6hsPmNXdeUKjwCXVmtJ MSti0ED5WC6WlUJJTD7Io2t+TH56mJQxsbChLvvvNbQ2484ewDyPh9GZKrPy16ZXq+nWUh t2iUAtwdaBi/Lq9LZ1u7XiR/UP99+zpR2pB0cMcdebXlM7R/iMfJAO3JWRxMAhXC7Sg0jE e0XnuIbU4mkILf1nFwx4WaadeS504wvcNZ5tNsCCtfGeqTZIL0MA7SMOFJeuyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=j7kN4HXO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705428628; a=rsa-sha256; cv=none; b=X/avLAWZ1UIka4dd/Cb7U06ashbeFyp6rzDM9Ka+qV7gz27AvDz2Qv6UrvyVX5DuNdFXiM Kb+vcYPGZkSmdsqsnDsxunEwKz5ZZagpLYUI1AxNMYjHJeeji57QFsjkCSmwWOHtWDWa1Y k0BDaHqUPtKR/c762nZ/Hwmm0yhnabZA5FGYg2CpBDtoksUTWh7AEJ7f6g37o9iW0+84bR phNbW7KNzXLCB8zpR+5WJTEQrGGG5LlREika6R04cqrB0mj/B6ETyfpr2yijZ5LRlBHA+C FTG4PiXF84lQ0vVF1khKOQQID23MnIoOccJe7WAY3cKSsIjtNfrcdEbB7UD/NQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5AE125278E for ; Tue, 16 Jan 2024 19:10:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPnsW-0003XO-9h; Tue, 16 Jan 2024 13:09:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPnsV-0003XD-6U for emacs-orgmode@gnu.org; Tue, 16 Jan 2024 13:09:35 -0500 Received: from mail-vk1-xa36.google.com ([2607:f8b0:4864:20::a36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPnsT-000441-8Q for emacs-orgmode@gnu.org; Tue, 16 Jan 2024 13:09:34 -0500 Received: by mail-vk1-xa36.google.com with SMTP id 71dfb90a1353d-4b72e63821eso6222733e0c.1 for ; Tue, 16 Jan 2024 10:09:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705428571; x=1706033371; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=llTLqPaQtD162wgrp3JEpx1QtsNfVPcPNTEfLrh2mPc=; b=j7kN4HXOk57d/JRz8de52uRRV1QDOC/01HBHRJhCmCu6hFXU6SuiVTW8td+MYf5+nG QxQGAea85Nr38UcP2XX+qUD/ez82S6IgR7WFGCfv47W//kL7BoOblXL27qE9UqrUNsz3 Iu2pNQbBdk6HURGdinUEJ8koyp2XY/TjU0VUfwq6/ODwINgQFu8hF1gLb+LqkqS3Jw90 rXv0Gbc/378D2lHan+s/Mep1hCdiPoi6WeiwhB7+S4hwdOexMaycU3lqqrj+jkCaLace ewmLeYRmWAml/nyuw2zCXvFBqtnaG+jnFaHcF41NS5x5PhRsF2WdP/6eYGZG4aNJ1Llo 4iWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705428571; x=1706033371; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=llTLqPaQtD162wgrp3JEpx1QtsNfVPcPNTEfLrh2mPc=; b=d6J99LMkcUGt45XOS95BAAiirOTljr1aDrbZrwTya/Nat7o7iup6IICoPFpwYly0n3 cZvbDuEx1sQEs0qy9CAm6pgg4DSMl4/nIk01JVWtXhlUeqESrSzumvqxBnYsFVn9nS4Q PwSXXBwfNPqV8ip9qjIXLe5NugpZaNPuRKbAKBwIEe7veqniow/Rz/RKllXmTLw+0nnQ 4jASh5RWlbfjJZvL6//FHdNsiiPDtBwO1gbFjlZN59mJu5XLqqMEqNUyKZXf1+1kSupw yaEvoe1qRD8SJbRYW8eZJmf638n40obVRi/YnrHu99sqG/0scHtGK8MDOuWEBxjDvqHM IQYw== X-Gm-Message-State: AOJu0YxXKkz8oTyqBBwxkU8xKjU2MEnQGVImFSaPvcA0DO4Z1Ip8zONf KxjgHATGC3nPIaE22HATaeOwpyUrIYtZyDs3YKxLr+z/7iybiA== X-Google-Smtp-Source: AGHT+IFKLqSvbTcAwnbgWXSG5p30S0ssJKdpeBoylgkF3fW6BIzszmc63XuBsaMB57vR7nS8BsuXI+78ajLATiXh+Tw= X-Received: by 2002:ac5:c8b2:0:b0:4b7:3b27:7c78 with SMTP id o18-20020ac5c8b2000000b004b73b277c78mr4989615vkl.15.1705428571512; Tue, 16 Jan 2024 10:09:31 -0800 (PST) MIME-Version: 1.0 References: <87wmsphyzk.fsf@localhost> In-Reply-To: <87wmsphyzk.fsf@localhost> From: Daniel Clemente Date: Tue, 16 Jan 2024 18:09:03 +0000 Message-ID: Subject: Re: [POLL] Any users setting `org-agenda-use-tag-inheritance' to nil or other non-default value? To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000031e601060f14080a" Received-SPF: pass client-ip=2607:f8b0:4864:20::a36; envelope-from=n142857@gmail.com; helo=mail-vk1-xa36.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.01 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -9.01 X-Migadu-Queue-Id: 5AE125278E X-TUID: /STIClLHVVR8 --00000000000031e601060f14080a Content-Type: text/plain; charset="UTF-8" > 1. If you customized it to speed up agendas, are agendas still slow on the latest main? I disabled org-agenda-use-tag-inheritance but I can't provide a lot of feedback because I don't use many tag filters: 1. I disabled it in a batch script that exports my agenda, though it doesn't actually speed up the agenda (even with org-element-use-cache disabled); I guess it's because the agenda view I'm exporting doesn't do any filter (in particular, filter by tag). 2. I disabled it in my .emacs, but I guess it has no effect because I also disabled org-use-tag-inheritance, because I've never needed tag inheritance. I temporarily enabled org-use-tag-inheritance and org-agenda-use-tag-inheritance and opened an agenda that filters by tag (it combines 4 one-tag filters), it seems to run almost as fast; 25 to 26 seconds with tag inheritance enabled, whereas with tag inheritance disabled it takes around 24 seconds. These are manual measurements which may be 1 or 2 seconds off, so you may want to measure it more precisely; they may take the same time. Anyway I don't see slowness due to tag inheritance in agenda. On Thu, 4 Jan 2024 at 17:28, Ihor Radchenko wrote: > Hello, > > We have a customization `org-agenda-use-tag-inheritance' that controls > whether agenda searches should use tag inheritance or not. > > One of the main motivations to introduce it was that agenda searches > could become really slow when resolving inherited tags. However, > inherited tags can now be retrieved very fast, after org-element-cache > has been enabled by default. At least, it is the theory. > > I'd like to hear from the users who customized > `org-agenda-use-tag-inheritance': > > 1. If you customized it to speed up agendas, are agendas still slow on > the latest main? > > 2. If you customized it for other reasons, may you please explain your > use case? > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > > --00000000000031e601060f14080a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> 1. If you customized it to speed up agendas, are= agendas still slow on the latest main?

I disabled= =C2=A0org-agenda-use-tag-inheritance but I can't provide a lot of feedb= ack because I don't use many tag filters:

1. I= disabled it in a batch script that exports my agenda, though it doesn'= t actually speed up the agenda (even with org-element-use-cache disabled); = I guess it's because the agenda view I'm exporting doesn't do a= ny filter (in particular, filter by tag).

2. I dis= abled it in my .emacs, but I guess it has no effect because I also disabled= org-use-tag-inheritance, because I've never needed tag inheritance.
=C2=A0
I temporarily enabled org-use-tag-inherita= nce and=C2=A0org-agenda-use-tag-inheritance and opened an agenda that filte= rs by tag (it combines 4 one-tag filters), it seems to run almost as fast; = 25 to 26 seconds with tag inheritance enabled, whereas with tag inheritance= disabled it takes around 24 seconds. These are manual measurements which m= ay be 1 or 2 seconds off, so you may want to measure it more precisely; the= y may take the same time. Anyway I don't see slowness due to tag inheri= tance in agenda.


On Thu, 4 Jan 2024 at 17:28, Ihor = Radchenko <yant= ar92@posteo.net> wrote:
Hello,

We have a customization `org-agenda-use-tag-inheritance' that controls<= br> whether agenda searches should use tag inheritance or not.

One of the main motivations to introduce it was that agenda searches
could become really slow when resolving inherited tags. However,
inherited tags can now be retrieved very fast, after org-element-cache
has been enabled by default. At least, it is the theory.

I'd like to hear from the users who customized
`org-agenda-use-tag-inheritance':

1. If you customized it to speed up agendas, are agendas still slow on
=C2=A0 =C2=A0the latest main?

2. If you customized it for other reasons, may you please explain your
=C2=A0 =C2=A0use case?

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>

--00000000000031e601060f14080a--