emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-goto slows down org-set-property


From: Ihor Radchenko
Subject: Re: [BUG] org-goto slows down org-set-property
Date: Sun, 11 Jul 2021 19:49:08 +0800

Maxim Nikulin <manikulin@gmail.com> writes:

> It seems, it is better to drop org-refile-cache completely. It has some 
> design problems making it rather fragile. At the same time a patch can 
> be applied that improves performance of `org-refile-get-targets' by a 
> factor of at least 2 for (org-refile-use-outline-path 'file).

I tend agree. I got rid of org-refile-cache some time ago in favour of
org-ql. The performance is much better subjectively, which indicates
that alternative caching mechanisms could be much better.

Your test on my 12M chars 18k headings org file (Emacs master, Org mode
master). I cannot use org-set-property even without org-refile-cache :(
 
#+RESULTS[e3fd8ffd9dd1a1d1cb8cf2ab3927bf647e944dd8]:
| 9.4.6                  |                    |   |                    |
| nm-tst                 | 13.638543295000002 | 4 | 1.9903503830000204 |
| org-refile-get-targets |        5.355179174 | 2 |   0.97954138099999 |
| nm-tst                 |       22.599429478 | 4 | 2.0785714209999924 |
| org-refile-cache-clear |        0.003903494 | 0 |                0.0 |
| nm-tst                 |       13.969909913 | 4 |   2.06943181500003 |

Best,
Ihor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]