Doerthous <doerth...@gmail.com> writes: > GNU Emacs 30.0.50 (build 1, x86_64-w64-mingw32) > Org mode version 9.8-pre release_9.7.25-279-g450692 > > It looks like file-truename takes up most of the time. Don't > know if this is related to file IO on Windows. > > Anyway, I will try to do more investigation another day. If > you need more infomartion about this test, feel free to let > me know.
I have addressed the poor performance of `file-truename' and `find-buffer-visiting' in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b7a737ef49e That commit should be a part of Emacs 30.1 release, while you are on Emacs 30.0.50 pre-release. Try to upgrade your emacs. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>