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 aDDeGuAGrmWtkwAAe85BDQ:P1 (envelope-from ) for ; Mon, 22 Jan 2024 07:10:40 +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 aDDeGuAGrmWtkwAAe85BDQ (envelope-from ) for ; Mon, 22 Jan 2024 07:10:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=151e.ai header.s=fm2 header.b=X98sjBQG; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="wPl1YnD/"; 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=151e.ai ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705903840; 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=JJaiPqIHAZSZcTVkMpUusrnK3xihchyeY+TlqXrDhDE=; b=jCMwfkqxXHtuwZY7qTTlP0LQzeSK9ZYbGeMBNJG5Mz9Q5r2iUH4Jquh656/kyYrjrEAd3V dUFfkXXhyTVuz6JRvJZK8iv2iwIKxP0kkAc4yfYwNxaNjDEeGDNeUvQH15HeV9TkyyGDqy ymP8ByURDZlR6u4nioqhBa+ExDZQaTT3giSqjmG0OhQlVvLbKPaZwziX9uyP+SPhGiSn+5 c75Hk+kD3pKd77rrUPdWoJr3X6SYjmGID/BxUMI+pRHYe+37HV0KtvhyZ2fOsadQm4M5oV K7TJB/Fuu/wOMLUPH4b2Jcvz9/9sZ8nOel1vGgFYNbkgnXJxRUcbr0S05PLFeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=151e.ai header.s=fm2 header.b=X98sjBQG; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="wPl1YnD/"; 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=151e.ai ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705903840; a=rsa-sha256; cv=none; b=r1js5auWErnatqcqTlDHdGLYf98xjel7Bocjzml1WnBVSXHLXNj8mw7ifp+1O8mLMZZXx6 E+mwXU2ZyrNZ+MseplVc1ucnGxAT8Vw8ZoxaA/9jXm6FeH81C6R+XMvJYx1AEeQynmJEXs p6CF3za/VBKBdZ28MuhE6qdDQvKHRwxGHMp9IRiqcU0KhHvLu/1Bmtwj3tKxtsCpE8rxKI RIaapkTY+pxGr6WNQbs+HWsidUXUa64hgLMmRhsyEaE/zl6JiBXzFInrIesRh8HmjmnHJU DFmaKJoeBuugexd9YC369c2p1M8GdZcKoevNn4OMmvZcUCUL+jRckJjcVEQWYA== 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 23DCA1222E for ; Mon, 22 Jan 2024 07:10:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRnVM-0005GO-Gi; Mon, 22 Jan 2024 01:09:57 -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 1rRnVH-0005G3-51 for emacs-orgmode@gnu.org; Mon, 22 Jan 2024 01:09:51 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRnVE-0000iu-Tl for emacs-orgmode@gnu.org; Mon, 22 Jan 2024 01:09:50 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 062CF3200A2A; Mon, 22 Jan 2024 01:09:44 -0500 (EST) Received: from imap52 ([10.202.2.102]) by compute7.internal (MEProxy); Mon, 22 Jan 2024 01:09:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=151e.ai; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1705903784; x=1705990184; bh=JJaiPqIHAZ SZcTVkMpUusrnK3xihchyeY+TlqXrDhDE=; b=X98sjBQG96JYG05tHLm2Ha7EFL yRvsyohf5HjtsyzFtqX2lNbbddrZp7XjXr9V/jrHweccpiZjkcBSx4TSdPH/M433 cWUTowp9eYzpN48SAxKKJ/AXwM+DCr86sI4gOjXr87TnsWWIt6jkQro8EMpIYb9L o/kwTqd48nb/FMcs9umAt5+o3Wwhl4bqq0BkFKegwzjoY9xINFO4/tCR0lPC0QOA smb4TtMc9wYaqXrwYX0utLlv/ilA1PBpld/wiMICmY1Bw61MxJqpQMdpj0e9boDg iAZvQM96qz/boJC+bKr5wREm8DJecMVXNUJHvJtF7QCe50fURHfyHzk1pnfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1705903784; x=1705990184; bh=JJaiPqIHAZSZcTVkMpUusrnK3xih chyeY+TlqXrDhDE=; b=wPl1YnD/5S7+cILr+HVkjinM07p6wH6vJAIdtzojh6IB iN6GbFUGml2TkZBOJhnaP4+VxjEREQc/bP88t7W8dNnWsannluQjoyOfhzy8ylOD NEC8xYquD8iwZMOHyDeiRQaNDjRxJYC4Wh6YTfhkRn1lgS/Qa9XPxVCu37BCBNsQ h/yaHr/4PInOvVEEk2yQzz+WK0mTCLeHs0mgz4DiwywO53oWT5eKYUejtBIKqtEs sYfJfSczRbNFs0gA4TJn8KrTz3WoayUwkIielQ0w8LVrU3rsvwk1i0nCH3rGQ1vA MMWdtT/OdPu9csE6l+Yht6A+3BRjKudT27IOaiKzCg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekhedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesth dtredtreertdenucfhrhhomhepuggrrhhkrdhkvgihkeejleelseduheduvgdrrghinecu ggftrfgrthhtvghrnhepgedtiefgfefgvedtueehgfegieelgedvtdevtdfgvdffudekfe euteejuedvledunecuffhomhgrihhnpegvlhdrshhonecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepuggrrhhkrdhkvgihkeejleelseduheduvg drrghi X-ME-Proxy: Feedback-ID: i35d941ae:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1DA0CC60091; Mon, 22 Jan 2024 01:09:43 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1374-gc37f3abe3d-fm-20240102.001-gc37f3abe MIME-Version: 1.0 Message-Id: <8c0bfbb0-7c67-4bcf-a3e9-afc9c08e18d8@app.fastmail.com> In-Reply-To: <87cytx73si.fsf@localhost> References: <871qadpjjn.fsf@localhost> <87r0ido229.fsf@localhost> <54c5f233-7376-4657-bcb1-8b47e1620772@app.fastmail.com> <87cytx73si.fsf@localhost> Date: Mon, 22 Jan 2024 14:09:22 +0800 From: dark.key8799@151e.ai To: "Ihor Radchenko" Cc: emacs-orgmode@gnu.org Subject: Re: Slowness of org-agenda-redo in org 9.7 vs 9.6.7 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.20; envelope-from=dark.key8799@151e.ai; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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.93 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -9.93 X-Migadu-Queue-Id: 23DCA1222E X-TUID: 5AOTCCzDbc/Y On Fri, Jan 19, 2024, at 23:15, Ihor Radchenko wrote: > I think that the missing lambdas should come from org.el. > So, may you M-x eval-buffer org-agenda.el, org-element.el, and org.el. > > And do the same in Org 9.6. (there are also cryptic lambdas there in the > profile) > > (In theory, you should not need to do this M-x eval-buffer trick if you > run Org mode from "make repro" command line in the git repo. Not sure if > it is easier for you or not) Well bad news then good news. Either by evaluating buffers as requested or by trying to use "make repro" (which I couldn't make work), I was still getting cryptic lambdas. I ended reinstalling emacs from scratch and the slowness disappeared. So I guess some native-compiled files were not updated when I switched to Org 9.7 (even though I had nuked the straight folder). A profiler report of `org-agenda-redo' is also clean of lambdas (it does have # statements but the call tree is decently readable). Side note about "make repro": it wouldn't load org from the repo. Trying to understand why, running "make autoloads", I was expecting (perhaps wrongly) that `org-version.el' and `org-loaddefs.el' would be generated in the repo directory/sub-directories but that never happened (and make didn't output any error). Launching "emacs -Q -l init.el" with init.el just having adding the repo to `load-path' and requiring org would fail on missing loaddefs. Is there a standard procedure to 1/ follow when switching org version and/or 2/ clean all byte-compiled/native-compiled files in this kind of situation? -- Alexandre Avanian