andrés ramírez <rrandr...@hotmail.com> writes: > Ihor> Also, can you do 1. M-x trace-function <RET> org-diary-sexp-entry > <RET> 2. refresh the > Ihor> agenda 3. share the trace output 4. M-x untrace-all <RET>
Now, I see what went wrong. Just pushed a patch that should reduce the time taken by `org-diary-sexp-entry' during rebuild. Can you update and try the profiling again? (If this last change works, I am out of ideas about easy ways to improve performance further. The only one is a significant change in org-element-at-point internals, but it will need to be tested carefully, and I do not plan to upstream it before the next Org release). -- 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