From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs HEAD regressions (another test case) Date: Fri, 06 Feb 2009 20:09:20 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <498964C5.5020906@alice.it> <18826.28789.943303.596345@priss.frightenedpiglet.com> <498ABAAC.3040308@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1233935180 15851 80.91.229.12 (6 Feb 2009 15:46:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2009 15:46:20 +0000 (UTC) Cc: sand@blarg.net, emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 06 16:47:34 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LVSvS-00043T-9Y for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2009 16:47:30 +0100 Original-Received: from localhost ([127.0.0.1]:38459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVSu9-0004yg-99 for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2009 10:46:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVOaM-00049P-Vc for emacs-devel@gnu.org; Fri, 06 Feb 2009 06:09:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVOaK-00049D-JR for emacs-devel@gnu.org; Fri, 06 Feb 2009 06:09:25 -0500 Original-Received: from [199.232.76.173] (port=34836 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVOaK-00049A-CH for emacs-devel@gnu.org; Fri, 06 Feb 2009 06:09:24 -0500 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2]:58122 helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVOaJ-0006ru-Lf for emacs-devel@gnu.org; Fri, 06 Feb 2009 06:09:24 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id BBD302C59; Fri, 6 Feb 2009 20:09:20 +0900 (JST) In-Reply-To: <498ABAAC.3040308@alice.it> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: NetBSD 3.0 (DF) 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:108818 Archived-At: >>>>> On Thu, 05 Feb 2009 11:08:44 +0100, Angelo Graziosi said: >> Anything that can generate 6kB lines in your complation buffer should >> do. Try calling a shell script that writes the long line. For me, it >> was a long compilation line from "make". > Indeed! The attached script 'prints' 6x1024 'x' characters, and on > GNU/LINUX KUBUNTU 8.04.02 it takes: > 4 seconds with Emacs CVS LESS THAN OR EQUAL TO (<=) 20090129 15:30 > 2:15 minutes, i.e. 60x2+15=135 seconds with Emacs GREATER THAN OR EQUAL > TO (>=) 20090129 15:40! Could you try the patch below to see if it affects the performance? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp Index: src/atimer.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/atimer.c,v retrieving revision 1.31 diff -c -p -r1.31 atimer.c *** src/atimer.c 30 Jan 2009 13:06:09 -0000 1.31 --- src/atimer.c 6 Feb 2009 10:59:24 -0000 *************** run_timers () *** 384,389 **** --- 384,391 ---- EMACS_GET_TIME (now); } + if (atimers == NULL) + pending_atimers = 0; #ifdef SYNC_INPUT if (pending_atimers) pending_signals = 1;