unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: window-scroll-functions and performance
Date: Mon, 15 Aug 2011 23:28:38 +0300	[thread overview]
Message-ID: <831uwmv2q1.fsf@gnu.org> (raw)
In-Reply-To: <878vqu1mof.fsf@gmail.com>

> From: Antoine Levitt <antoine.levitt@gmail.com>
> 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	other threads:[~2011-08-15 20:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 19:48 window-scroll-functions and performance Antoine Levitt
2011-08-15 20:28 ` Eli Zaretskii [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831uwmv2q1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=antoine.levitt@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).