> On Dec 4, 2022, at 10:18 AM, Ihor Radchenko <[email protected]> wrote: > > Ihor Radchenko <[email protected] <mailto:[email protected]>> writes: > >> Eli Qian <[email protected] <mailto:[email protected]>> 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
