Closed fleimgruber closed 2 years ago
As a workaround I do (remove-hook 'calendar-today-visible-hook 'org-journal-mark-entries)
.
That's weirdly slow. What operating system are you using, how many journal files do you have, and what journal mode are you using (daily, weekly, monthly)?
For reference, my a-few-thousand-files journal renders the calendar almost instantly on Windows (slow!) and Linux.
What operating system are you using
I am Windows and Linux, it is slightly slower under Windows.
how many journal files do you have
The org-journal-dir
has about 300 files beneath it (recursively).
what journal mode are you using (daily, weekly, monthly)?
yearly.
For reference, my a-few-thousand-files journal renders the calendar almost instantly on Windows (slow!) and Linux.
I don't understand "almost instantly" together with "slow!".
I see how this might be hard to debug / reproduce - for me the workaround is ok as I don't use that calendar feature. Please proceed with this issue as you see fit, it is solved for me.
Please reopen if you'd like to continue this discussion.
Emacs 27.2 org-mode 9.5.3 org-journal 20210417.1612
As mentioned in issue title,
org-schedule
takes about 5-10 seconds for the calendar to be responsive. Most of the time is spent inorg-journal-mark-entries
, see these CPU profiler results:Any ideas on what might going on here? How to further debug this?