all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#3441: 23.0.94; *compilation* long lines painfully slow
@ 2009-06-01 11:19 Marshall, Simon
  0 siblings, 0 replies; 3+ messages in thread
From: Marshall, Simon @ 2009-06-01 11:19 UTC (permalink / raw)
  To: emacs-pretest-bug

Guys, this is a follow-up to
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2223.  It
might not have anything to do with that bug at all - I was just going
back and seeing if that bug had been fixed.

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.

Thanks, Simon.

In GNU Emacs 23.0.94.1 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2009-06-01 on risksun2
Windowing system distributor `Hummingbird Ltd.', version 11.0.100015
configured using `configure
'--x-includes=/usr/openwin/include:/usr/dt/include:/usr/local/include:/u
sr/local/X11/include'
'--x-libraries=/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/local/X1
1/lib' '--with-x-toolkit=motif' '--with-jpeg=no' '--with-gif=no'
'--with-tiff=no' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t


"Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number: 01360027. Registered office: One Kingdom Street, London W2 6BL, United Kingdom. For a list of Misys group operating companies please go to http://www.misys.com/corp/About_Us/misys_operating_companies.html. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and Misys plc. Please refer to the executed contract between you and the relevant member of the Misys group for the identity of the contracting party with which you are dealing. 





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#3441: 23.0.94; *compilation* long lines painfully slow
@ 2009-06-17 16:36 Chong Yidong
  2009-06-18  7:44 ` joakim
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2009-06-17 16:36 UTC (permalink / raw)
  To: Marshall, Simon; +Cc: Alex Ott, Joakim Verona, 3441

> 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?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#3441: 23.0.94; *compilation* long lines painfully slow
  2009-06-17 16:36 Chong Yidong
@ 2009-06-18  7:44 ` joakim
  0 siblings, 0 replies; 3+ messages in thread
From: joakim @ 2009-06-18  7:44 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Alex Ott, Marshall, Simon, 3441

Chong Yidong <cyd@stupidchicken.com> writes:

>> 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?

Ok, I will give it a shot.

-- 
Joakim Verona





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-18  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-01 11:19 bug#3441: 23.0.94; *compilation* long lines painfully slow Marshall, Simon
  -- strict thread matches above, loose matches on Subject: below --
2009-06-17 16:36 Chong Yidong
2009-06-18  7:44 ` joakim

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.