unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* window-scroll-functions and performance
@ 2011-08-15 19:48 Antoine Levitt
  2011-08-15 20:28 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Antoine Levitt @ 2011-08-15 19:48 UTC (permalink / raw)
  To: emacs-devel

Hi,

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.

Is it normal that window-scroll-functions gets called this much? Any
idea on how to improve scrolltobottom?




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-08-16  9:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 19:48 window-scroll-functions and performance Antoine Levitt
2011-08-15 20:28 ` Eli Zaretskii
2011-08-15 21:02   ` Antoine Levitt
2011-08-16  5:56     ` Thierry Volpiatto
2011-08-16  6:38       ` Eli Zaretskii
2011-08-16  8:03         ` Thierry Volpiatto
2011-08-16  9:12           ` Eli Zaretskii
2011-08-16  6:49     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).