From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sand@blarg.net Newsgroups: gmane.emacs.devel Subject: Performance regression in CVS HEAD's *compilation* buffer Date: Tue, 3 Feb 2009 19:42:39 -0800 Message-ID: <18825.3759.960897.974404@priss.frightenedpiglet.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233720587 14128 80.91.229.12 (4 Feb 2009 04:09:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2009 04:09:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 04 05:11:01 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LUZ6K-00078P-1a for ged-emacs-devel@m.gmane.org; Wed, 04 Feb 2009 05:11:00 +0100 Original-Received: from localhost ([127.0.0.1]:42536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUZ51-0000zo-4y for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2009 23:09:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUZ4v-0000zj-Md for emacs-devel@gnu.org; Tue, 03 Feb 2009 23:09:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUZ4t-0000zW-9m for emacs-devel@gnu.org; Tue, 03 Feb 2009 23:09:32 -0500 Original-Received: from [199.232.76.173] (port=33684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUZ4t-0000zT-4j for emacs-devel@gnu.org; Tue, 03 Feb 2009 23:09:31 -0500 Original-Received: from v-static-143-234.avvanta.com ([206.124.143.234]:50772 helo=priss.frightenedpiglet.com) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LUZ4s-0003Gp-97 for emacs-devel@gnu.org; Tue, 03 Feb 2009 23:09:30 -0500 Original-Received: (qmail 17275 invoked by uid 1000); 4 Feb 2009 03:42:40 -0000 X-Mailer: VM 8.0.11 under Emacs 23.0.60.1 (i486-pc-linux-gnu) X-URL: http://home.blarg.net/~sand X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Greylist: delayed 1600 seconds by postgrey-1.27 at monty-python; Tue, 03 Feb 2009 23:09:22 EST X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108712 Archived-At: 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. Here's a simple test case to reproduce: * In *scratch*, create 96 lines of "x" characters, 64 characters wide. C-u 64 C-u x C-m C-u 95 * Put them all onto a single line. M-< C-u 10000 C-x f M-q * Put an "echo" on the front to make it an invokable command, and copy it to a register. e c h o C-x h C-x r x c * Run `compile' with that command: M-x compile C-a C-k C-x r i c It used to take on the order of 10 seconds to complete. For example, on my home machine: -*- mode: compilation; default-directory: "~/" -*- Compilation started at Tue Feb 3 19:28:40 echo [...] [...] Compilation finished at Tue Feb 3 19:28:50 (Output elided.) With CVS HEAD, this takes well over a minute. In both cases, Emacs is completely unresponsive during this display period. This is a big problem when running Make with extremely long (~6kB) output lines. My home machine is a Debian box running a snapshot of CVS HEAD from 2009-01-11, and I'm unable to reproduce it here, so the performance drop seems to happened sometime between the 11th and today. Thanks, Derek