From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: Serious performance problem with process output on Mac OSX Date: Tue, 30 Mar 2010 10:43:02 +0300 Message-ID: References: <83634jglab.fsf@gnu.org> <831vf7ge57.fsf@gnu.org> <83y6hfeyzw.fsf@gnu.org> <83vdcig87f.fsf@gnu.org> <87k4sywpvv.fsf@stupidchicken.com> <83tys2fbxs.fsf@gnu.org> <87hbo1iubm.fsf@home.jasonrumney.net> <87iq8ey981.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269935021 9103 80.91.229.12 (30 Mar 2010 07:43:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 07:43:41 +0000 (UTC) Cc: Christian Lynbech , Emacs-Devel devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 30 09:43:37 2010 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.69) (envelope-from ) id 1NwW6q-0005Yr-Gd for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 09:43:36 +0200 Original-Received: from localhost ([127.0.0.1]:54390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwW6p-0001i0-0p for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 03:43:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwW6R-0001hX-5I for emacs-devel@gnu.org; Tue, 30 Mar 2010 03:43:11 -0400 Original-Received: from [140.186.70.92] (port=56667 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwW6P-0001hG-7m for emacs-devel@gnu.org; Tue, 30 Mar 2010 03:43:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwW6N-00084A-QF for emacs-devel@gnu.org; Tue, 30 Mar 2010 03:43:09 -0400 Original-Received: from mail-ew0-f218.google.com ([209.85.219.218]:58391) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwW6N-000843-Lk for emacs-devel@gnu.org; Tue, 30 Mar 2010 03:43:07 -0400 Original-Received: by ewy10 with SMTP id 10so561256ewy.32 for ; Tue, 30 Mar 2010 00:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=k0W+vHHN4SKozZRwZDlzoQ/2wMKzYEUwFXGVUkOYoFk=; b=kY7PK6tBfhrylU8aXGgVVFOgP/qQ0Ntw0gECmluCfKMQSLPdhwcLVLd/UQEKV8JDHy BSqNdA5jcm4j0S72XPtmV1k4HC+D9iIgImiOKyCP7vQEy6mmE/LOUrzCubEKCB1cNPb8 uSRCMsdC0G+nKCwd6P4dsCScBU1WRNznPkJA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=Rjmsr00VtxekXB5NkTtTBd5rqMxwP5+gp00WWdhp2b7ercr7P21k6WUV06YlppwIQ/ GaYiwWGokIAVXUWxgMBo8cioZi8mmOsYghwOfOBMaOM3UgExpv5pISl9Zw1Jwb/e+nhS n6X7E7wSFiHKD0IZo6bBwnocdRosCVWvbMjmg= Original-Received: by 10.213.63.12 with SMTP id z12mr1032783ebh.68.1269934986380; Tue, 30 Mar 2010 00:43:06 -0700 (PDT) Original-Received: from [10.0.1.2] (dsl-hkibrasgw2-ff6ec300-110.dhcp.inet.fi [88.195.110.110]) by mx.google.com with ESMTPS id 13sm2755058ewy.5.2010.03.30.00.43.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Mar 2010 00:43:04 -0700 (PDT) In-Reply-To: <87iq8ey981.fsf@stupidchicken.com> X-Mailer: Apple Mail (2.1077) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:122900 Archived-At: > One other thing I noticed which looking through the code is that the > Nextstep port assigns a special value, `t', to frame-title-format, and > processes it specially. Is there any reason to do this? If not, I > think this should be removed; this looks like a misfeature to me, = since > it is not compatible with the variable as documented and can confuse > other people's Lisp code. Ah, OK -- this variable and value was checked for in the code I moved in = my patch, but I had no idea it was set specially by NS lisp code. I'll = look into it. > Can you verify that > this also fixes the performance problem reported in > [http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2056]? I assume it's = the > same problem. I looked at that and, while I get some slight choppiness, it doesn't = seem to be to the extent people are reporting there. Am not sure how = large a file one needs -- I tried with a 1MB text file. And I'm on = 10.6.. mileage might be different under 10.5 or 10.4. This should be = looked into, but it probably relates to event loop stuff and would need = some dedicated time to track down / fix. -Adrian