From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 0EDlNg/zH2M0ywAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 05:03:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UJHiNg/zH2MCggAA9RJhRA (envelope-from ) for ; Tue, 13 Sep 2022 05:03:43 +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 77DA22777B for ; Tue, 13 Sep 2022 05:03:43 +0200 (CEST) Received: from localhost ([::1]:41944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXwD7-0007vd-7l for larch@yhetil.org; Mon, 12 Sep 2022 23:03:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXwBz-0007ud-BT for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 23:02:31 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:42549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXwBx-0004Qd-E2 for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 23:02:31 -0400 Received: by mail-pf1-x430.google.com with SMTP id b23so10448972pfp.9 for ; Mon, 12 Sep 2022 20:02:29 -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=JnP5wZdiLMbDsTKsoyFtUBYkWaVW+AWyTRHAs3L/Fek=; b=LWelO7657iUcybSoG0XOWpN0zr+OjY6vhm3TA9ofsNApMfPMYqLCn3jQSBlZevt/ZL 091eddmbexS5nbgSgK0EsOGbYCJ4nbIlGcciQG9SRbp3UTPFYnrZAqH5EXnNGGXoMZLK d1GX3WJXUA5neDBqZrGBQJ0lvCMZ+9kSISoqwWwb6VXEgLjTPc2btYc9sV9BcuXEB1CV S00B72Mf3TVWJCE+/zM3/WwflrC+K6suNuDT6N0odMHo3tHg18p3egH22xe51CrCpWwJ HIvh9CuexgTdVCtCjo5IFec+GvmFPw3ntA6MIcu4EN/nPwn9D1lxQ4CwINesMPHDbPOE ekDg== 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=JnP5wZdiLMbDsTKsoyFtUBYkWaVW+AWyTRHAs3L/Fek=; b=lgrry9alL/R1E4OVrmhOdxTyRQElQfalopMKkr5GZ3U48p5ZJRhsXPOyxcT4JSRS60 mrDVOjaK5RA1jOPTfkB8WekbibrwF2KBTS3b7ZlRttBnNH/Y8RQKeDZmVn4iXlntR7Ef UpXckxob68Y2CEdXfIYbCAwgfgCSJ2J8mh7zHuyiXqZwVaBwdJMLSIe4VUwDyYDPWlRs BelBUEguexpiDKoU2EbHpbr3G3YNKYElX4IPCvnakpIYg3cOdP1j2lI2by3w+JnzHWfl uRJKkGLxWheHbNHHn6jcnIJ4ZVG//TC2l7vNC7czm+bz1p/QEdjTrF1SGdq/iIPyaSMd XXsQ== X-Gm-Message-State: ACgBeo1UHUrYcm+dXLTQstQWD/CpKXkAhJxMlFB8+RWVlBYAEPdlVxDE AtrVgMGONJgK9e4vSc7pEaM= X-Google-Smtp-Source: AA6agR5lmHFy66gb8hdqUB8+fF1/L9oRMsk9N80L2CvKYLvcShIVTJihpLXt4fc22BYGj+qkTbiw5Q== X-Received: by 2002:a63:6c01:0:b0:429:ea6e:486d with SMTP id h1-20020a636c01000000b00429ea6e486dmr25623080pgc.247.1663038147764; Mon, 12 Sep 2022 20:02:27 -0700 (PDT) Received: from localhost ([2409:8970:a81:48f7:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id x4-20020a170902ea8400b0016f975be2e7sm6865493plb.139.2022.09.12.20.02.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 20:02:27 -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> Date: Tue, 13 Sep 2022 11:03:20 +0800 Message-ID: <87k068t1qf.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::430; envelope-from=yantar92@gmail.com; helo=mail-pf1-x430.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=1663038223; 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=JnP5wZdiLMbDsTKsoyFtUBYkWaVW+AWyTRHAs3L/Fek=; b=JRwl4vQqh49XSvRZTOwjwuZ03fZ0HWsAbwCuOYvfdWFZdxlU1jAWsQ6v47tD4WrSrv3o0n mlFDP2Zs4VuIUVT+Lr9oSluvXC77K7TYqz9y/FRSaIeKrn9UhL4doZfkZ2EC8A3cnX7OkL GbSr9G9evPqQeyAqoxnVFQlqOqccrbT5d1hRokexxQ5NxSU1RRRMRQkc4CHmL3gq1/vn8W IBx0R8vjkxwIL4T6zOl55jPmytw12QnaYr4fqqtsc1C9Q0By1xG7jxx2Cf0CCeczIRhHb7 x2/OyJn0G6lN33HbWQZa3kZo2G86SaFJGhhCrLSxNinV93qvptpxjSjVMbvRSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663038223; a=rsa-sha256; cv=none; b=LgcIqFR6GE2ZQwtdoeuQbSHT/c3SGjEbQy3wh8C9rTWXljxxy8YeDcfrDwrjblnzxn5nZ6 F4y5DyvB/Biw1iKeRTBR6Y+fA8THEvDEu7AC+YT8RfC+g7/X9Vc6GeIKwAWFhZn+vxIqff NS+3SzgmB0V3Sbz64jnNd2DnTO2XD2gDr99DKoXvBwz/YmSyl6QhbBMfORM2EE6SkivOsY N78SBXU5SBrtsptFwxi7drCAUbXxNbLlcCPfxCD2iyvrpFVrcx2hMQ5Uq6LcoEPV5lKDoW FdalMXmtNJ3uPAN936FTYkfMKevW1iqH9wrBgxveYUH8Hg3P+wYGlzuYakBS+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LWelO765; 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.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LWelO765; 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: 77DA22777B X-Spam-Score: -1.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: qlqBuAYPBomt andr=C3=A9s ram=C3=ADrez writes: > Ihor> Can you please 1. run M-x profiler-start cpu 2. run= your agenda 3. M-x > Ihor> profiler-report 4. M-x profiler-report-write-profile cpu-profile.el 5. Share > Ihor> the file produced in 4 > > The file produced. Thanks! Can you then execute (setq org-element--cache-self-verify nil) and repeat the steps? --=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