From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Is it just me, or did 21.3.50 get a whole lot slower? Date: Sat, 15 Jun 2002 15:47:41 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206152147.g5FLlfU10992@aztec.santafe.edu> References: <87adpxob2n.fsf@alice.dynodns.net> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024177788 19976 127.0.0.1 (15 Jun 2002 21:49:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 15 Jun 2002 21:49:48 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17JLQa-0005C5-00 for ; Sat, 15 Jun 2002 23:49:48 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17JLq1-0005dj-00 for ; Sun, 16 Jun 2002 00:16:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17JLPa-0004mZ-00; Sat, 15 Jun 2002 17:48:46 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17JLOY-0004cc-00; Sat, 15 Jun 2002 17:47:42 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g5FLlfQ11038; Sat, 15 Jun 2002 15:47:41 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g5FLlfU10992; Sat, 15 Jun 2002 15:47:41 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: johnw@gnu.org In-Reply-To: <87adpxob2n.fsf@alice.dynodns.net> (message from John Wiegley on Fri, 14 Jun 2002 13:32:48 -0700) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4900 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4900 First I noticed the nifty new color schemes, and fading modelines. However, I also saw that it was WAY WAY slower than 21.2. 'M-x' took 0.2 seconds to show a prompt; there was a lag on inserting characters; RET at the end of a line waiting up to 2 full seconds at time. Chances are this is due to some rather simple change, and we could easily fix it if only we knew what. If it does not happen to most people, maybe it is due to a change in some package or feature that you use. Could you see if it is equally slow if you do `emacs -q'? Is there any chance you can stop Emacs during those 2 seconds? If you can start Emacs under GDB, then during that time if you move the mouse into the window where GDB is running and type C-c, it might stop Emacs in time to get a backtrace. If you do that a few times, it might show you where the time is being spent. What I did notice is lots and lots of screen flicker. It seems that refreshes were happening very often (maybe once every few seconds), which is very different from 21.2, where flicker just never happens. You can set breakpoints in various parts of redisplay, such as try_window and try_window_id, and set commands on them to continue automatically. That way, they will print out in the GDB window but won't actually stop Emacs. By comparing the slow version and a faster version, you might see a difference in pattern which would tell us something.