emacs-devel
[Top][All Lists]
Advanced

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

Re: window-scroll-functions and performance


From: Eli Zaretskii
Subject: Re: window-scroll-functions and performance
Date: Mon, 15 Aug 2011 23:28:38 +0300

> From: Antoine Levitt <address@hidden>
> Date: Mon, 15 Aug 2011 21:48:00 +0200
> 
> I'm trying to track down the cause of performance issues in erc. One
> problem is with erc-scroll-to-bottom. Here's a simple test: emacs -Q,
> M-x erc, accept the default, M-x erc-scrolltobottom-mode, C-l to force
> scrolltobottom to act, M-x elp-instrument-package erc, press and
> maintain "a" for a while, then M-x elp-results. erc-scrolltobottom gets
> called a lot, and that causes noticeable slowdowns: display doesn't keep
> up with input, and CPU consumption jumps. This gets my emacs to 100% CPU
> just inserting text.

Does the problem go away if you turn bidi-display-reordering off?
Does it go away if you use Emacs 23.3?

If the answer to any of these 2 questions is YES, please try to come
up with a reproducible test case that doesn't involve erc, and I will
take a look.

Thanks.



reply via email to

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