From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: window-scroll-functions and performance Date: Mon, 15 Aug 2011 23:02:10 +0200 Message-ID: <87ei0mxub1.fsf@gmail.com> References: <878vqu1mof.fsf@gmail.com> <831uwmv2q1.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313442166 7107 80.91.229.12 (15 Aug 2011 21:02:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2011 21:02:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 15 23:02:41 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qt4Iz-0003fV-52 for ged-emacs-devel@m.gmane.org; Mon, 15 Aug 2011 23:02:41 +0200 Original-Received: from localhost ([::1]:49561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qt4Iy-0002yd-NG for ged-emacs-devel@m.gmane.org; Mon, 15 Aug 2011 17:02:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qt4Iu-0002yL-D4 for emacs-devel@gnu.org; Mon, 15 Aug 2011 17:02:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qt4Iq-0007Vt-3T for emacs-devel@gnu.org; Mon, 15 Aug 2011 17:02:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qt4Ip-0007VI-HE for emacs-devel@gnu.org; Mon, 15 Aug 2011 17:02:31 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qt4Io-0003Zc-8w for emacs-devel@gnu.org; Mon, 15 Aug 2011 23:02:30 +0200 Original-Received: from cab14-1-88-177-9-245.fbx.proxad.net ([88.177.9.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2011 23:02:30 +0200 Original-Received: from antoine.levitt by cab14-1-88-177-9-245.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2011 23:02:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cab14-1-88-177-9-245.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143267 Archived-At: 15/08/11 22:28, Eli Zaretskii >> From: Antoine Levitt >> 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? Nope. (though it does reduce CPU usage a bit - from 100% to 85 here) > Does it go away if you use Emacs 23.3? No, it's not a new bug. > 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. There does not seem to be many people using ERC on this list, and consequently not a lot of work on it, it's a shame.