[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance regression in CVS HEAD's *compilation* buffer

From: Stefan Monnier
Subject: Re: Performance regression in CVS HEAD's *compilation* buffer
Date: Sat, 29 Jan 2011 00:28:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]