[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-persist-write-all is slow because of use of pp [9.8-pre (r
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org-persist-write-all is slow because of use of pp [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)] |
Date: |
Sat, 10 Aug 2024 12:48:55 +0000 |
Visuwesh <visuweshm@gmail.com> writes:
> I am using the async LaTeX preview branch and org-persist-write-all
> takes a lot of time to finish executing due to the use of pp when saving
> the index file. Changing org-persist-write:index to not pass a non-nil
> PP argument to org-persist--write-elisp-file changes the execution time
> of org-persist-write-all from 62 secs to just 8 secs. For reference,
>
> (length org-persist--index) ;; ⇒ 1504
>
> I have attached the profiler report for org-persist--index of much
> smaller length but if required I can reproduce a report for the full one
> too.
So much for the idea of readable index file.
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f9351456e7
--
Ihor Radchenko // yantar92,
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>