From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KDXBCQaGGWNwggAAbAwnHQ (envelope-from ) for ; Thu, 08 Sep 2022 08:04:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cHvjCAaGGWP4DgAAG6o9tA (envelope-from ) for ; Thu, 08 Sep 2022 08:04:54 +0200 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 BA4C428F9D for ; Thu, 8 Sep 2022 08:04:53 +0200 (CEST) Received: from localhost ([::1]:36970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWAei-0006UT-1j for larch@yhetil.org; Thu, 08 Sep 2022 02:04:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWAYO-00046p-Vh for emacs-orgmode@gnu.org; Thu, 08 Sep 2022 01:58:24 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:38629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWAYM-00041h-1r for emacs-orgmode@gnu.org; Thu, 08 Sep 2022 01:58:20 -0400 Received: by mail-pj1-x1036.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so1246922pjq.3 for ; Wed, 07 Sep 2022 22:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=mkKc8Z6Rsphv/qk6YNdh8tDwMs7uL/pXpLQ0c3nz9u4=; b=W1isq0lqyddeAyAguGkExkO00M36vZVODl8m8xLZObSBZt7p4yNPZqDxKOBaIsT79m jHDZZZapivqsoDq1MERGZSruzfLfdBzrd4y73KtLwVkA6G0RzZlGlv/0lo4yQWZtAdSu 8uwYGSgbLHduxX7bgL11qwaWmKQNDGVp754YNM3oy0iwx/6cPQxgQZR2tpI56zUkcXA9 lIRc8W2I6hav4HpbIxvkVpduBmtFRvvrQZHm6uGz4KXkkHt0Fl7HtsDOXuOn6rH6LWp7 Dcnk3/wL0ax2mobzFMjwVXIPgSv57HFJ2ZHP9gGXhgi3P6cv55UHmgae/tUZJofpzqgj 29dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=mkKc8Z6Rsphv/qk6YNdh8tDwMs7uL/pXpLQ0c3nz9u4=; b=Hlpg3uVIxmtlpgxz0asWqPb98rSw8nWnN/G/+NE/KMsOWLAkyUSTvqEyjyrYmM0UBx bosI3ufUtsXMXVkaHfqtpm01+1GWpQR6lSwJmC2l2KaWwrynByEm40JO4tuHEGYazJZO zF9lV8RwSH/0I8C1L/s749EVfulALKxCQhJXzyb5vqHC1GgtaPWtjpU+uW1ePNvcRVEY BnOZE7MJyE0YkNWqRBsTtr72u83O74JSmTuIpeyH6tUvToUgeDI2EIdYG5jzODZN3mnE mFnQzyuc28bJOhPkSzPDM0tVR9xQGAja5zvcghghsE4+bU7qm+LJqTe5fu2rptl35J4E juWQ== X-Gm-Message-State: ACgBeo0EXODNaovsvV6lxjGSKf3w3nsWRpQLx/S2fpyogWtDiv9S61B8 6U/T5R33O3tECkMcdtVUh+k= X-Google-Smtp-Source: AA6agR7C0zhTzHJvQ/THJcHSYyG58xJL6aPuXM3r9ieEPEzrdxbYxvFjLr3e+koi21hATBP8IRVvpQ== X-Received: by 2002:a17:903:4c2:b0:175:5c35:fb1f with SMTP id jm2-20020a17090304c200b001755c35fb1fmr7126684plb.169.1662616696629; Wed, 07 Sep 2022 22:58:16 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id q10-20020a170902edca00b00176ab6a0d5fsm8182685plk.54.2022.09.07.22.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 22:58:16 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?= Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)] In-Reply-To: References: Date: Thu, 08 Sep 2022 13:59:11 +0800 Message-ID: <87wnaeo18w.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.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, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662617093; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mkKc8Z6Rsphv/qk6YNdh8tDwMs7uL/pXpLQ0c3nz9u4=; b=H3pHniTj60sArE26zLMOgSUCfB8mYydhhwspcMl2uogUazDy9QVqXiW1DcCwNvKuo8MZP1 NAJXKQkIhhdqUvX46BepQmFTczQwi0UM8gMyoL0ctnEwNf+5lO0dOxM9KsXOXmha543h3E iJgYAPxN8pKQJNwDOcYa5DjPmPggFqVGCyjVdbdZG+aD1PC6sEJfZQeVpLkA7rgg9ZAENj NwgdEyXuuAK0EIU+dPT6kh31caE1NXz3tDpDBMkncUv/yxt8RO+HnrXUXWDUmB1i9j5BZt nsCWyxwe723JTaPb04WEh3/3NF79iSu6Z+4864MsNjOTt2mxHpCb1gkb/2rUoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662617093; a=rsa-sha256; cv=none; b=b53VnW1sh5psWRy82+9xbLzLbS5I/UzhAvNVcBxjFQMVRGSzv+X4FRBTZ5puCWDhtR15KB CI3Kzgk0UfOeTvhK9E5J4/S7SffRpv9M1ameLFB3OyM6ufQIGH4wlyOhCw8+8oF/1daOSe DPTQt7SE3QaM/oaY7V5z8+ikD9kC+/e/4oaZsyERh0rn5TDHWXn9WUBxuKlxi3aPN4AlQS /Y8JLMfSqGb79JedSj9oJPOWf4L7VOPsSJaBOjNmh2JE6IQQlvfgQNO56/5hcWN6rXlZvz xHC33xMFnj7MHXq+x2epq2iAdaFZQocNUxtW+23g4bl6KcNP6Ul/qgO9DJQ+Zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=W1isq0lq; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -1.78 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=W1isq0lq; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: BA4C428F9D X-Spam-Score: -1.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: yJ6BiTe8AGm4 Andr=C3=A9s Ram=C3=ADrez writes: > org-agenda-list generation time takes too much time compared with the > same setup with emacs27. > > This is org-agenda-list output from 28. (takes aproximately 4m21s) > ... > This is org-agenda-list output from 27. (takes 15s) > > Emacs : GNU Emacs 28.1 (build 1, armv7l-unknown-linux-gnueabihf) > of 2022-05-27 > Package: Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/em= acs/28.1/lisp/org/) The slowdown is possible as a side-effect of some bugfixes. However, the newest development version of Org should not have these performance issues. Can you try with the latest Org version (https://elpa.gnu.org/devel/org.html)? You will need to add https://elpa.gnu.org/devel/ to your package archives. --=20 Ihor Radchenko, 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