emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs HEAD regressions (another test case)


From: YAMAMOTO Mitsuharu
Subject: Re: Emacs HEAD regressions (another test case)
Date: Fri, 06 Feb 2009 20:09:20 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Thu, 05 Feb 2009 11:08:44 +0100, Angelo Graziosi <address@hidden> 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
                                address@hidden

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]