From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: c-mode eats resources? Date: Mon, 20 Feb 2006 00:31:56 +0100 Message-ID: References: <200602182307.38095.pogonyshev@gmx.net> <200602182312.k1INCmL06749@raven.dms.auburn.edu> <878xs7mgzx.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1140402189 11346 80.91.229.2 (20 Feb 2006 02:23:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2006 02:23:09 +0000 (UTC) Cc: pogonyshev@gmx.net, Luc Teirlinck , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 20 03:23:08 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FB0hb-0002rq-Rv for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2006 03:23:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FB0hb-0007hk-8q for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2006 21:23:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FAy27-0007GZ-Hl for emacs-devel@gnu.org; Sun, 19 Feb 2006 18:32:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FAy25-0007Es-C7 for emacs-devel@gnu.org; Sun, 19 Feb 2006 18:32:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAy25-0007EY-4w for emacs-devel@gnu.org; Sun, 19 Feb 2006 18:32:01 -0500 Original-Received: from [195.135.220.2] (helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FAy7z-0001OQ-5e for emacs-devel@gnu.org; Sun, 19 Feb 2006 18:38:07 -0500 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 9BB08E881; Mon, 20 Feb 2006 00:31:58 +0100 (CET) Original-To: Juri Linkov X-Yow: It don't mean a THING if you ain't got that SWING!! In-Reply-To: <878xs7mgzx.fsf@jurta.org> (Juri Linkov's message of "Sun, 19 Feb 2006 19:18:57 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50793 Archived-At: Juri Linkov writes: > I don't know whether due to very inefficient regexps or not, but in > the last few months fontification in C mode deteriorated drastically. > Evaluating the code above on alloc.c using `emacs -q --no-site-file' > on 1GHZ in different Emacs versions produces the following results: > > GNU Emacs 21.4 - 0.5 sec > CVS 2004-04 - 3.5 sec > CVS 2005-09 - 6.8 sec > CVS 2006-02 - 10.0 sec I'm measuring less than 8 seconds on a 700Mhz G3, and less than 3 seconds on a 1.8Ghz G5. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."