From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: font-lock has become far too slow Date: Tue, 27 Apr 2004 15:44:36 -0700 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 1083106099 15374 80.91.224.253 (27 Apr 2004 22:48:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 22:48:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 28 00:48:09 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 1BIbN2-00005n-00 for ; Wed, 28 Apr 2004 00:48:08 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIbN2-0007bg-00 for ; Wed, 28 Apr 2004 00:48:08 +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 1BIbMl-0007xl-7k for emacs-devel@quimby.gnus.org; Tue, 27 Apr 2004 18:47:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BIbMY-0007vv-Lj for emacs-devel@gnu.org; Tue, 27 Apr 2004 18:47:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BIbJj-0006TX-Mc for emacs-devel@gnu.org; Tue, 27 Apr 2004 18:45:14 -0400 Original-Received: from [204.251.10.90] (helo=pop.directnic.com) by monty-python.gnu.org with smtp (Exim 4.30) id 1BIbJj-0006TO-AR for emacs-devel@gnu.org; Tue, 27 Apr 2004 18:44:43 -0400 Original-Received: by pop.directnic.com (iris/0.153:492879); 27 Apr 2004 22:44:42 +0000 X-Iris-Host: 3521758219/max6.rvsd01.pbi.net Original-Received: from max6.rvsd01.pbi.net (EHLO Majnun.local) (209.233.196.11) by pop.directnic.com (iris/0.153:492879/relay) with ESMTP for ; 27 Apr 2004 22:44:38 +0000 Original-Received: by Majnun.local (Postfix, from userid 501) id B9F4924367F; Tue, 27 Apr 2004 15:44:36 -0700 (PDT) Original-To: emacs-devel@gnu.org In-Reply-To: (John Wiegley's message of "Tue, 27 Apr 2004 15:31:11 -0700") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (darwin) 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:22273 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22273 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. John