emacs-devel
[Top][All Lists]
Advanced

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

Re: follow-mode: extremely slow in combination with org-mode


From: Eli Zaretskii
Subject: Re: follow-mode: extremely slow in combination with org-mode
Date: Sat, 16 Jun 2018 14:41:13 +0300

> From: Gerald Wildgruber <address@hidden>
> Date: Sat, 16 Jun 2018 12:25:13 +0200
> 
> - follow-post-command-hook                                       7755  41%
>  - follow-adjust-window                                          7755  41%
>   - follow-windows-start-end                                     7732  41%
>    - follow-calc-win-end                                         7732  41%
>     + pos-visible-in-window-p                                      25   0%
>     + posn-at-x-y                                                   7   0%
>     + window-inside-pixel-edges                                     3   0%
>   + follow-all-followers                                            4   0%
>     follow-avoid-tail-recenter                                      3   0%
> 
> If I understand correctly "follow-calc-win-end" would be the function
> that uses most of cpu time.

Yes, it looks like that.  For even more detailed results, repeat the
experiment after loading the uncompiled follow.el.

> Anyone got an idea what's going on here and how to debug that? Are there
> possible optimizations with this situation? Or is this "normal",
> expected behavior, simply due to the number of windows and text
> displayed?

If you "show all" in the Org buffer, do the lags become significantly
smaller?



reply via email to

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