Christian Moe <m...@christianmoe.com> writes: > After upgrading to 9.7 (still on Emacs 27.1), I'm seeing very long waits > when trying to use tag completion in large files, whether with C-c C-q, > %^g in capture templates or running (org-get-buffer-tags) directly. This > applies both to 9.7.1 and 9.7.2 (on two different machines with similar > environments, both older hardware). On repeated tries I have also had > several freezes.
May you please record the CPU profile? You can do 1. M-x profiler-stop 2. M-x profiler-start RET cpu RET 3. Query tags 4. M-x profiler-report 5. M-x profiler-report-write-profile 6. Share the saved file -- 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>