From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QMeON1LjH2NNeQAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 03:56:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yFCrNlLjH2MorgAAG6o9tA (envelope-from ) for ; Tue, 13 Sep 2022 03:56:34 +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 8FD242EA25 for ; Tue, 13 Sep 2022 03:56:34 +0200 (CEST) Received: from localhost ([::1]:52252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXvA9-0008Hj-PR for larch@yhetil.org; Mon, 12 Sep 2022 21:56:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXv9K-0008Ha-6V for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 21:55:42 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:33337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXv9I-0003oX-DI for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 21:55:41 -0400 Received: by mail-pl1-x62c.google.com with SMTP id iw17so10364527plb.0 for ; Mon, 12 Sep 2022 18:55:40 -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=MGSK6n6N7pvu3KPyrezc3BdoZBaYBzXi7/roFfsqPcg=; b=Gtl90xUiFjAXkr69SHWHzJdGFOPJWvA30AhQIvIAYygKJKZhsCL6Ix9crdAXFZ+W5Y gmwF2uWPVLyosg8mDSYBAXqYWy1xKq0naMv3MwDS05YpNl9f6Unwd559dVqi7YIUMSdU Au2VjbZ6YpX/zbhkfmi1sUaiJDKSChBIdEK0tqBtauiIMmEZ6g407iMd39BU/3XM8OPy Kxw5TbAkAnd6Myx2S/WRBuzIEV5z8v/8kUgnBk7jvUjHduO1AFnihGMD8xkWom2okY0j On5+gfsMH7FxdFj0WKygFsL9OqqNzh8KyHVZk8CTbkFmXi7Gttd4S8f516+r5G3DqEwY R89A== 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=MGSK6n6N7pvu3KPyrezc3BdoZBaYBzXi7/roFfsqPcg=; b=7wVfuMp/xdOw4+SBHP6eHRrEm+abOW9R8/o5gZpFZViCIS/zlZBlxW1+v/Qbq+Si1H 9DnEZcxXIpcw0rggd+oZ7UmyWu62cTHXRvGH/Wukiazq/FfdrPSiLJ+M4HkcxXLqE1za SfzD5Fr1zFj/qT4fg/pEwNn1sn1Ic0//gq+jnGJt4hV1uDX//fohkWz5YbVi0rzfp3P/ 6Uu5gcUdBFWrC8AN4fcIdC4WrhsErdtz+64mTSqH1ur4VjUR4x4hx+ZJYEp/VMw7UzhC BnvYBAiK9mQYXLCOoflbKMv3/zi/KuJDmQhMk5JkJ2RM/G6ktExF9XC6LYxrQffUV9mz 5qag== X-Gm-Message-State: ACgBeo1FbP1X3VPcAW37cgV32FOOsYZ6DVg+rAE6dJeJMd1FkhhlumoU p5ubuG2Gjyi7M9RCrPAL504= X-Google-Smtp-Source: AA6agR47mgyywdRcfmdiD45vBsnIA63Q84dz6oKzq9tGsFvraAVgS2E9F0VrORjqImAHpw3BgeQoOg== X-Received: by 2002:a17:902:eb90:b0:176:b24a:e69b with SMTP id q16-20020a170902eb9000b00176b24ae69bmr29332176plg.86.1663034138957; Mon, 12 Sep 2022 18:55:38 -0700 (PDT) Received: from localhost ([2409:8970:a81:48f7:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id q18-20020a170902dad200b001782aee4881sm3876832plx.153.2022.09.12.18.55.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 18:55:38 -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> Date: Tue, 13 Sep 2022 09:56:26 +0800 Message-ID: <8735cwujed.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::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.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=1663034194; 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=MGSK6n6N7pvu3KPyrezc3BdoZBaYBzXi7/roFfsqPcg=; b=og6Bpajpp0tSglIo/33iIeDIZcDeNwtsJTkZ5kM3JUrrcgzaEsqurYd1JYAPPfaSqKtlk8 H1/oHvyNipNxqwV2dKTeX6vunU6bddfVV6HhltU/rph0oXV20qcBiA6qx2qs8RNGe0L6QM XDjiGdgfSNpbyaYWWLaXUj16JzO6MUZtp9fCO9BIqCJkc8nodASQtOWvNBW5ZpFxGLv46p 1UEBkeDOJ8Txdpj5DdaaY00eIr8bHbqjQpDch/7khL6WPkhBInF1gKAzcee8VXMMo1BEYV B0gzKGueit+6j3BjcWtA0mCLMoHA7XkA7T4o/3l5VbgHKVqbqr42kEXX5WiEqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663034194; a=rsa-sha256; cv=none; b=CbBPLunJ4PYACx7cUoKzekqceK/mhTWactcRPRPZ+V2vhBllFvxgkqzjTv2svmvDf73TmZ URKoVC4qCi/dmVn7Abt2vkdDMgEohj7X5iXzLCDML0FczqdaS0DIIzQtfeaNTwr28Hb41t eDoJ/+UwPEcK97MMrrGkRLTQEwoXl5QVxf+fT45G8tf9/AuJt0VHjuea+/w45o9J1J3Cou Twlx2jkSnTJHLcFTRFxx99fLavmlrBMlxMcDG8FwTlADPETc+VAvxyjjDpLB0mcxGQINph 7++22ZCZMZcMCnVsq9PU9VQWPuVbFYX0rWnT2HYrMofji3MZGSrljGkKyYDqWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Gtl90xUi; 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.80 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Gtl90xUi; 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: 8FD242EA25 X-Spam-Score: -1.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: xpR3cYMSJUue andr=C3=A9s ram=C3=ADrez writes: > Ihor> The slowdown is possible as a side-effect of some bugfixes. Ho= wever, the newest > Ihor> development version of Org should not have these performance is= sues. > > I have just tried 9.6. org-agenda-list generation time was 1m20s. More > than one minute more than emacs-27. Can you please 1. run M-x profiler-start cpu 2. run your agenda 3. M-x profiler-report 4. M-x profiler-report-write-profile cpu-profile.el 5. Share the file produced in 4=20 --=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