unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: sand@blarg.net, emacs-devel@gnu.org
Subject: Re: Emacs HEAD regressions (another test case)
Date: Fri, 06 Feb 2009 20:09:20 +0900	[thread overview]
Message-ID: <wliqnn6cv3.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <498ABAAC.3040308@alice.it>

>>>>> On Thu, 05 Feb 2009 11:08:44 +0100, Angelo Graziosi <angelo.graziosi@alice.it> 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;




  parent reply	other threads:[~2009-02-06 11:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04  9:49 Emacs HEAD regressions Angelo Graziosi
2009-02-05  4:52 ` sand
2009-02-05 10:08   ` Emacs HEAD regressions (another test case) Angelo Graziosi
2009-02-06  2:42     ` sand
2009-02-06 11:09     ` YAMAMOTO Mitsuharu [this message]
2009-02-06 16:05       ` Angelo Graziosi
2009-02-07  3:11         ` sand
2009-02-07  4:16       ` Chong Yidong
2009-02-06 13:30     ` Bruce Stephens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wliqnn6cv3.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    --cc=sand@blarg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).