From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 AJqYEzdxqmXaCAEAe85BDQ:P1 (envelope-from ) for ; Fri, 19 Jan 2024 13:55:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AJqYEzdxqmXaCAEAe85BDQ (envelope-from ) for ; Fri, 19 Jan 2024 13:55:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TQ7kbXZK; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705668919; 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=c1QS/9x1MQ3tT/1OATSablylPoC62SppKT0bJI/rfZ0=; b=Fg/D/4OvRjhqL1soqAnAzKzizE7uFi+ieVeP+0pOt5g4lNW6FY83NOk6IIOfZr++hOzQhJ THqV64FtoMPjsrmHGk2AEc+V9QohwmGxHZd2pCHe5vtefXev2cP1SV/MQqgL7fhTPK/JEj dNN/Kcdn+99UxOmNQI1HO2QB5+unVSdyARKIQUOVJz/XU6W5utePix4p/DMT0QVdUgeFks Dx/1U1APrk0fHwkotCLJ3WhDzU/79CLtgCypdRJswlgzhP2gMF84zjmTM2fBuaAH1k6qE5 eIdwvES1RX352J5fJi4UWeCYAwdRv6JfG+XAFHfhQHMcczKkOz3Jfv3939v5DA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TQ7kbXZK; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705668919; a=rsa-sha256; cv=none; b=ECSt2nmbjUqGGqQ4txedy32Go3BmupLjyQuTVWQx7BNp/4UHj9nmzrcXA0I0Snit6SqejE fI4ZKqSKL4PyKLJXwvEB+oYz9UQHOQPTP2BIRWDfWsfDXIPhQXskM1+/7cZHIngS2fgYEE HIEcM0hr8g7wqlWQnFrTnbBOqjJzesnCJbMnpSxZ4veHJ739dGx9LWNPEgaibSJkwsZbjw m2PljwCw+FlGg3Qyl1m9F0xaR4VFMq1g4onEanVOKjDSol4vM+StWsTWa8ALLUVaujEwbr tq+TiyHpgnpPmnNXkQOlMOIFF1S7STZi/2qQ5w7LbXbtn/hlCfPDmvs7JfraQg== 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 332E4134C1 for ; Fri, 19 Jan 2024 13:55:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQoON-0004w8-BB; Fri, 19 Jan 2024 07:54:39 -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 1rQoOK-0004vu-VQ for emacs-orgmode@gnu.org; Fri, 19 Jan 2024 07:54:37 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQoOJ-0005rt-01 for emacs-orgmode@gnu.org; Fri, 19 Jan 2024 07:54:36 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C91E4240103 for ; Fri, 19 Jan 2024 13:54:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705668872; bh=hPMW9q7sF0jFUP/AuS7MoPpB2l+DDCL9YQRrJWZx7c8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=TQ7kbXZKrW+Z1ovUmJmjfXrAlQFej6BI+jPuLUi+Hu0K3cn/uPSc628Cy1BndMIQl 2+z/2fSukLs7mQXw8pEufsuC9TqJwkZqjPXNQrz2UGzfntcgPGdOuwotHiGG6K1U/T gENQBsiz1xFg3iNHkJ2sZ82YsksDsAKM+WUJJSLSBIqwSfxB3mmtrQ2WyeCvdKXgz1 rJYcZ5eNBiitndt296OYRawHliH1+lZRs+84+854OayPECbkF/oTl8dSZ24RUgdo6e B91e7zPIPzUlWIeNVk0nf7KRRzUg/YUgGa7YVClNWgCAYgZ1DeQSmcQJgaLnb4F0Rt DAPfwK/X2jsgg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TGfhS0Wn4z6tm4; Fri, 19 Jan 2024 13:54:31 +0100 (CET) From: Ihor Radchenko To: dark.key8799@151e.ai Cc: emacs-orgmode@gnu.org Subject: Re: Slowness of org-agenda-redo in org 9.7 vs 9.6.7 In-Reply-To: References: Date: Fri, 19 Jan 2024 12:57:48 +0000 Message-ID: <871qadpjjn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.53 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -9.53 X-Migadu-Queue-Id: 332E4134C1 X-TUID: 7m+ifEKlyv55 dark.key8799@151e.ai writes: > I've been running 9.7 for a few weeks and I've noticed a slowdown in > `org-agenda-redo'. I finally ran some benchmarks. Thanks! > I can reproduce it with a minimal org config (bare init.el with only > straight.el and a short org config) with my full `org-agenda-files' > (~450 files). In my regular conf, both are faster than the report > below (I suppose because of gc collection parameters), about ~10s and > ~1s respectively. > > Here's a truncated comparison of elp outputs May you please redo the benchmarks using 1. M-x profiler-start cpu 2. Run agenda 3. M-x profiler-report 4. M-x profiler-report-write-profile profile.el 5. Share two saved profiles, repeating the above steps with newer and older Org mode. ELP benchmarks on the whole Org mode are useless - they create huge overheads on frequently called fast functions, completely messing up the information. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at