From: dark.key8799@151e.ai
To: "Ihor Radchenko" <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Slowness of org-agenda-redo in org 9.7 vs 9.6.7
Date: Mon, 22 Jan 2024 14:09:22 +0800 [thread overview]
Message-ID: <8c0bfbb0-7c67-4bcf-a3e9-afc9c08e18d8@app.fastmail.com> (raw)
In-Reply-To: <87cytx73si.fsf@localhost>
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 #<compiled -...> 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
next prev parent reply other threads:[~2024-01-22 6:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 10:35 Slowness of org-agenda-redo in org 9.7 vs 9.6.7 dark.key8799
2024-01-19 12:57 ` Ihor Radchenko
2024-01-19 13:49 ` dark.key8799
2024-01-19 14:00 ` Ihor Radchenko
2024-01-19 14:50 ` dark.key8799
2024-01-19 15:15 ` Ihor Radchenko
2024-01-22 6:09 ` dark.key8799 [this message]
2024-01-22 12:05 ` Ihor Radchenko
2024-01-22 15:36 ` dark.key8799
2024-01-22 19:57 ` Ihor Radchenko
2024-01-23 2:35 ` dark.key8799
2024-01-24 15:02 ` Ihor Radchenko
2024-01-24 15:59 ` dark.key8799
2024-01-24 16:12 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c0bfbb0-7c67-4bcf-a3e9-afc9c08e18d8@app.fastmail.com \
--to=dark.key8799@151e.ai \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).