all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: "Marshall\, Simon" <Simon.Marshall@misys.com>
Cc: Alex Ott <alexott@gmail.com>, Joakim Verona <joakim@verona.se>,
	3441@emacsbugs.donarmstrong.com
Subject: bug#3441: 23.0.94; *compilation* long lines painfully slow
Date: Wed, 17 Jun 2009 12:36:36 -0400	[thread overview]
Message-ID: <8763eukeaz.fsf@stupidchicken.com> (raw)

> Create a Makefile with the contents:
>
> all:
> 	@echo [insert 5000 chars]
>
> Run emacs -Q and do Tools > Compile... RET and I see Emacs create the
> *compilation* window and insert chunks of the echo output.  23.0.94
> takes 20+ seconds to complete it and is pretty much unusable during that
> time.  22.3 takes 1 second.  Looking back at earlier pretests, this also
> applies to 23.0.91.

This is due to the following in compilation-error-regexp-alist-alist:

  (maven
   ;; Maven is a popular build tool for Java.  Maven is Free Software.
   "\\(.*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]" 1 2 3)

which was added here:

2007-07-25  Joakim Verona  <joakim@verona.se>  (tiny change)

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Add support for the Maden build tool.

This regexp is pathologically slow on long lines.  Since the performance
impact is quite serious, and this bug has affected more than one user, I
went ahead and commented out this line in compile.el.

Joakim, could try to come up with a faster regexp?





             reply	other threads:[~2009-06-17 16:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 16:36 Chong Yidong [this message]
2009-06-18  7:44 ` bug#3441: 23.0.94; *compilation* long lines painfully slow joakim
  -- strict thread matches above, loose matches on Subject: below --
2009-06-01 11:19 Marshall, Simon

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=8763eukeaz.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=3441@emacsbugs.donarmstrong.com \
    --cc=Simon.Marshall@misys.com \
    --cc=alexott@gmail.com \
    --cc=joakim@verona.se \
    /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.