From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Emacs cvs (23) uses too much CPU with compilation mode Date: Tue, 12 May 2009 11:07:25 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242119298 971 80.91.229.12 (12 May 2009 09:08:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2009 09:08:18 +0000 (UTC) Cc: Emacs Help To: Felipe Magno de Almeida Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 12 11:08:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3ny1-0008Le-La for geh-help-gnu-emacs@m.gmane.org; Tue, 12 May 2009 11:08:05 +0200 Original-Received: from localhost ([127.0.0.1]:51388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3ny1-0006vb-24 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 May 2009 05:08:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3nxU-0006uH-2t for help-gnu-emacs@gnu.org; Tue, 12 May 2009 05:07:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3nxS-0006th-6D for help-gnu-emacs@gnu.org; Tue, 12 May 2009 05:07:30 -0400 Original-Received: from [199.232.76.173] (port=38276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3nxR-0006tc-PV for help-gnu-emacs@gnu.org; Tue, 12 May 2009 05:07:29 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:51107) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3nxQ-0005Lg-MV for help-gnu-emacs@gnu.org; Tue, 12 May 2009 05:07:29 -0400 Original-Received: from thursday (f051097222.adsl.alicedsl.de [78.51.97.222]) by dd18200.kasserver.com (Postfix) with ESMTP id 9526D18098F2E; Tue, 12 May 2009 11:07:28 +0200 (CEST) In-Reply-To: (Felipe Magno de Almeida's message of "Sat, 9 May 2009 01:39:08 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64360 Archived-At: > On Thu, Apr 16, 2009 at 6:28 PM, Felipe Magno de Almeida > wrote: >> Hi, >> >> I can see emacs uses 80% of CPU of a 600Mhz Celeron for about 2 >> minutes after it gets the compiler error output. >> The compiler only runs for less than 15 seconds. >> It happens only when the error message is a bit big. ( > 50Kb). >> It is instantaneous with emacs-22.3. I don't have to wait at all. >> I'm using multi-tty, but I can reproduce it without server-start. I >> also use CEDET, but >> the behavior is the same without it. >> Sometimes the error message is *much bigger*. And that makes it >> unbearable to wait. Here's a guess: The compilation buffer gets fontified. Either fontification (and setting error markers) takes longer in Emacs 23, or just the progress messages for fontification (because drawing antialiased fonts is slower). Test by disabling `font-lock-mode', or setting `font-lock-verbose' to nil. regards, Nikolaj Schumacher