> On Dec 4, 2022, at 10:18 AM, Ihor Radchenko <yanta...@posteo.net> wrote: > > Ihor Radchenko <yanta...@posteo.net <mailto:yanta...@posteo.net>> writes: > >> Eli Qian <eli.q.q...@gmail.com <mailto:eli.q.q...@gmail.com>> writes: >> >>> Any idea about speeding up clocking in? >> >> Try reducing `org-element--cache-self-verify-frequency' to a smaller >> number. > > For some context, self-verify staff will only be enabled during pretest. > It is an equivalent of ./configure --enable-checking in Emacs. We do it, > because we absolutely need to catch all issues with org-element cache > ASAP, before the code goes into Emacs release.
FYI here is how reducing that number helped with my clocktable updates in the order I tested each value. *** org-element--cache-self-verify-frequency 0.01 update takes 1:18 (minutes : seconds) *** org-element--cache-self-verify-frequency 0.005 update takes 0:48 *** org-element--cache-self-verify-frequency 0.002 update takes 0:28 *** org-element--cache-self-verify-frequency 0.001 update takes 0:19 *** org-element--cache-self-verify-frequency 0.0005 update takes 0:20 *** org-element--cache-self-verify-frequency 0.03 (default value) update takes 3:29