From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: font-lock has become far too slow Date: 29 Apr 2004 01:07:28 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083186880 16002 80.91.224.253 (28 Apr 2004 21:14:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2004 21:14:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 28 23:14:34 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIwO2-0003xm-00 for ; Wed, 28 Apr 2004 23:14:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIwO2-0004au-00 for ; Wed, 28 Apr 2004 23:14:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIwMi-0006ss-OY for emacs-devel@quimby.gnus.org; Wed, 28 Apr 2004 17:13:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BIwIP-0004XS-FV for emacs-devel@gnu.org; Wed, 28 Apr 2004 17:08:45 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BIwHo-0003yd-SB for emacs-devel@gnu.org; Wed, 28 Apr 2004 17:08:15 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIwHR-0003Yk-EW; Wed, 28 Apr 2004 17:07:45 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id CC43A262886; Wed, 28 Apr 2004 23:07:41 +0200 (CEST) Original-To: John Wiegley In-Reply-To: Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22316 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22316 John Wiegley writes: > John Wiegley writes: > > > Starting very recently, font-lock (using jit-lock) has become so > > slow that Emacs can no longer keep up with my typing -- on a modern, > > 1.25 GHz PowerBook G4. I haven't profiled things yet, so does > > anyone know what was added that might make things this slow? I > > compiled with -O3 -fomit-frame-pointer, but still am forced to turn > > off font-lock mode. > > It looks like it's more than just font-lock. With font-lock off, if I > hold down C-p to move up in the buffer, drawing new pages takes up to > a full second (subjective). And typing past the end of a line has a > hard time keeping up with my typing. Even typing this message is very > laggy. I will have to do some profiling to see what it going on. > Nothing in my configuration has changed very drastically since > February, when things were working quite nicely. I just installed a fix for a problem causing excessive redisplay. Please see if this problem has been fixed as well. -- Kim F. Storm http://www.cua.dk