all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: sand@blarg.net
Cc: emacs-devel@gnu.org
Subject: Re: Performance regression in CVS HEAD's *compilation* buffer
Date: Sat, 29 Jan 2011 00:28:04 -0500	[thread overview]
Message-ID: <jwvoc70e194.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <18825.3759.960897.974404@priss.frightenedpiglet.com> (sand@blarg.net's message of "Tue, 3 Feb 2009 19:42:39 -0800")

> I updated my CVS tree to HEAD today (2009-02-03, around noon PST),
> compiled it, and started using it.  My previous sync had been around
> 2008-12-01.  During that interval, the performance of inserting long
> lines into the *compilation* buffer has dropped by an order of
> magnitude.

I've only recently started taking a look at compile.el and haven't had
a chance to investigate this problem, but I just tried:

  M-x compile RET echo C-u 6400 x RET

and it finished instantly.  Maybe this is because the problem was fixed
a while ago.  But I also just installed a change which should
significantly help such cases by only processing lines when they're
complete, which avoids an N^2 behavior.


        Stefan



  reply	other threads:[~2011-01-29  5:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04  3:42 Performance regression in CVS HEAD's *compilation* buffer sand
2011-01-29  5:28 ` Stefan Monnier [this message]
2011-01-29  6:24   ` David Kastrup
2011-01-29 15:46     ` Stefan Monnier

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=jwvoc70e194.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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 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.