emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Babel evaluation: location and timing information


From: Ihor Radchenko
Subject: Re: [PATCH] Babel evaluation: location and timing information
Date: Fri, 23 Sep 2022 10:22:45 +0800

Max Nikulin <manikulin@gmail.com> writes:

> While I work with my notes file, performance degrades after some 
> operations. E.g. searches become significantly slower after caching 
> refile targets. Previous discussion of the issue:
> Ihor Radchenko. Re: profiling latency in large org-mode buffers (under 
> both main & org-fold feature) Sun, 27 Feb 2022 14:43:29 +0800. 
> https://list.orgmode.org/87y21wkdwu.fsf@localhost
>
> My experience is that e.g. emacsclient with particular line causes 
> several seconds hang.
>
> Despite improvements since Emacs-26 in line counting, still I believe 
> that the `line-number-at-pos' function may still be excessively 
> expensive in real live when unconditionally used just for a bit nicer 
> logging.

May I ask if other Org operations are also slow in that problematic file
with many markers? If so, I do not think that we need to worry about
performance of `line-number-at-pos'. Rather we just wait for Emacs to
fix problems with markers. See the discussion in 
https://yhetil.org/emacs-devel/jwvsfntduas.fsf-monnier+emacs@gnu.org

-- 
Ihor Radchenko,
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



reply via email to

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