From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qJX1MHk5IWNnQgEAbAwnHQ (envelope-from ) for ; Wed, 14 Sep 2022 04:16:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GAURMXk5IWPpfwAA9RJhRA (envelope-from ) for ; Wed, 14 Sep 2022 04:16:25 +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 69655158DB for ; Wed, 14 Sep 2022 04:16:25 +0200 (CEST) Received: from localhost ([::1]:53114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYHwu-00048T-8T for larch@yhetil.org; Tue, 13 Sep 2022 22:16:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYHvZ-00048K-TO for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 22:15:01 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:53145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYHvT-0002PL-T4 for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 22:15:01 -0400 Received: by mail-pj1-x1031.google.com with SMTP id go6so8893886pjb.2 for ; Tue, 13 Sep 2022 19:14:55 -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=CH2tFR1oI93GCnFO5EBnYC9p3iavHgkFExTZF9G+2dc=; b=KlJviynQ6yyHkwkMAk/uMImIZHDQMwxcZUHlvzw205oP4+ucgx85jTkzZQFFeO/hlF HJ4kpzixPPiQJfR9L1tc4pd2WV7+narxhF8MftdPc8tCFsHJGLBwmXU3ezlo9xOioye0 1IvLT/2M/bszjAb9NhHOlGCNBftRtx44gPB1AAhA0sj37Je+aXz0lH5dJQ7nnehmoeKg ZJV20jqhzTxDRHogTGd7k7XV5CGJwHoU/P2CZsrplhpD8eg1PkZZanqpWIKwTwV2uoiK gKKSLibIUMFHvaxyUYxjCBdvWWeiY3AO6mTo7nhWx7oh9sbPzXKl3zvb7byKyZd3WfAZ 4vNQ== 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=CH2tFR1oI93GCnFO5EBnYC9p3iavHgkFExTZF9G+2dc=; b=riz7/zIB9Le43xogv2O4AmmLRnJLThVdtFl8fnghHTd+7R1vwfKRZ8x3rk9sE2hbxe ChRf74bmRWahKHD4dSAvD9adDOAWutvSIFwodkvD9qoCp3TG+UOX1k5AhFdB42BDRFi7 gxv4ZEttgGM4MHmxLwN9DG2d00yWroahA8MvuQrP/0VdWIKAZZv6gfLr732EICk7iTan VqCdMzXFeWE7pEHTC7eVfZ3rsMTKmo5mdy184pxjv3Q2jnG6SDA5k7KCHv+7Fd0ARkHz fa6piV9en8oKtaoYPCNYazo5Ukn2K/LHrBXbURrhYlQpEa2bncsTh55qxr+2d5Vwavbx 1nUw== X-Gm-Message-State: ACgBeo1NyLfvUWX6qS2jrriaS8NKvpzr3kY8vJQuqNKyQ/4B0zTMIaH0 NNQOZi29y28xpm3XR549xmU= X-Google-Smtp-Source: AA6agR5iRGezdNaPQKjzD/c6tAoXlBuuJe1eK+iY0pUCzUaEafPEWHcyEHlPHPTy3rwX45JCvwAmWg== X-Received: by 2002:a17:902:e841:b0:177:82b6:e6f7 with SMTP id t1-20020a170902e84100b0017782b6e6f7mr33023890plg.66.1663121694108; Tue, 13 Sep 2022 19:14:54 -0700 (PDT) Received: from localhost ([2409:8970:a81:48f7:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id f8-20020aa79d88000000b0053e468a78a8sm8594440pfq.158.2022.09.13.19.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 19:14:53 -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: <87wnaeo18w.fsf@localhost> <8735cwujed.fsf@localhost> <87k068t1qf.fsf@localhost> <87h71bdgr3.fsf@localhost> Date: Wed, 14 Sep 2022 10:15:38 +0800 Message-ID: <87wna6ya45.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::1031; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1031.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=1663121785; 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=CH2tFR1oI93GCnFO5EBnYC9p3iavHgkFExTZF9G+2dc=; b=kzXJha5fz8C9BKBIQ688Zx93egIS6XGywL4WxvHFQr2N5ALdOP3IikaHV+y3Maz7mCdsft ldIVpbUFIzsOZBpbve/xqAnvzRuxRJF3rPQZAKwz5127OG22+IM6B/zunhpDn/AKce0z1d aE75ypyisjMYjkTuKRA4JB+0zcCoCd4LLvmAdMh1OrVP2Y86YxXbmNfoY8s7KDw33Aqws8 b9XlCHLTT5PKmXVCGwfCynizJWIpcgMBLa0UirbgOatCB35glLYqlH1XrBoGATEwEaAoBV pDvTAET7ZY5lDF149Nz71aylblGkuPjDOF8kR3MHEVBbm9FqYw0fGb6nx6nb4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663121785; a=rsa-sha256; cv=none; b=clH3F7JpDDKnZQO5+LZ1FVd69IuSotjTA4Sdw/YtaS5PJ7Mjxgvj/Eao7uWBqfxpvVwZPS R91zu2SCIpr8KEgAoHf6VmNtT96/+je5XWPGBiMKJtTTUsEkA69a1+7NXYnfcuSfn6X72u D8jvlepsPhNUlVvJzFAwSVXRXoLIAl82WMDi/iHEQDSLHcdjh/4F8zWWu0roGEkK+uRCO7 Vb3zI3EQ/auRulLGbdy1LyMsTi0iY9vilAGNx5Xl8ULH89IbvxApsADSkaN7vj8uemSLAc RDj9w+/3/ZyxvTLmev5REkYvO/ean4c065bbH5f5jRzgELArnk7VXFIgksNo1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KlJviynQ; 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: -3.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KlJviynQ; 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: 69655158DB X-Spam-Score: -3.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZwV18ZoDj/Uq andr=C3=A9s ram=C3=ADrez writes: > Ihor> Now, can you execute the following and let me know if the perfo= rmance is back to > Ihor> satisfactory? > > [...] [Note that I pushed the change in org-back-to-heading upstream] https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D2737128aa= 778297f41971cc93c464faf17718e34 > I have tested your suggested changes. > emacs28 with bundled org have recovered and it is a little bit quicker > than emacs27 (around 17s). You should be missing something. The code I suggested should have exactly 0 impact on the built-in Org. > emacs28 with org 9.6 took 44 seconds. So on 9.6 performance is not > satisfactory yet. Then, can you provide the updated profiler report again? Please use the latest development version of Org + (setq org-element--cache-self-verify nil) > second observation: > > on emacs28+bundled-org this very detailed line is shown: > --8<---------------cut here---------------start------------->8--- > bbdb: [[bbdb:erlinda massco][erlinda massco's 49th custom anniversa= ry]] > --8<---------------cut here---------------end--------------->8--- > > But. on emacs28+org9.6 this short detailed line is showed: > --8<---------------cut here---------------start------------->8--- > bbdb: custom > --8<---------------cut here---------------end--------------->8--- > > Could this behaviour be restored on latest development?. Could you detail steps how to reproduce this? I cannot, on my side. See https://orgmode.org/manual/Feedback.html --=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