all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sand@blarg.net
To: Angelo Graziosi <angelo.graziosi@alice.it>, emacs-devel@gnu.org
Subject: Re: Emacs HEAD regressions (another test case)
Date: Thu, 5 Feb 2009 18:42:06 -0800	[thread overview]
Message-ID: <18827.41854.434092.39788@priss.frightenedpiglet.com> (raw)
In-Reply-To: <498ABAAC.3040308@alice.it>

Angelo Graziosi writes:
> sand@blarg.net ha scritto:
> > 
> > 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!
> 
> To reproduce:
> 
> $ emacs -Q &
> 
> M-x compile
> C-a C-k
> ./test_script-6KB.sh
> 

I can repro the success and failure cases on those two times.  Note
that people need to set their timezone to CET for those timestamps to
be accurate:

  env TZ=CET cvs diff -D '2009-01-29 15:30' -D '2009-01-29 15:40'

That diff contains changes for pending signals.

+2009-01-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (pending_signals): New var.
+       (poll_for_input, input_available_signal, init_keyboard): Set it.
+       (process_pending_signals): New function.
+
+       * lisp.h (QUIT): Check pending_signals instead of
+       interrupt_input_pending.  Use process_pending_signals.
+
+       * atimer.c (run_timers, alarm_signal_handler): Update
+       pending_signals.
+
+       * process.c (wait_reading_process_output): Use
+       process_pending_signals.
+
+       * sysdep.c (emacs_write): Use process_pending_signals.
+
+       * xterm.c (XTread_socket): Update pending_signals.
+
+       * w32term.c (w32_read_socket): Update pending_signals.
+
+       * w32inevt.c (w32_console_read_socket): Update pending_signals.
+

Derek




  reply	other threads:[~2009-02-06  2:42 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 [this message]
2009-02-06 11:09     ` YAMAMOTO Mitsuharu
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

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

  git send-email \
    --in-reply-to=18827.41854.434092.39788@priss.frightenedpiglet.com \
    --to=sand@blarg.net \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.