From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 22.1.50; insert-file-contents is slow under tramp Date: Thu, 23 Aug 2007 19:49:39 +0200 Message-ID: <46CDC8B3.7000301@gmx.at> References: <87veb6l9b0.fsf@escher.local.home> <46CD98DC.1050701@gmx.at> <87r6lul2fc.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187891369 23331 80.91.229.12 (23 Aug 2007 17:49:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 17:49:29 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 23 19:49:26 2007 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 1IOGo7-0006aZ-P0 for ged-emacs-devel@m.gmane.org; Thu, 23 Aug 2007 19:49:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOGo7-00031u-7p for ged-emacs-devel@m.gmane.org; Thu, 23 Aug 2007 13:49:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOGnS-0002h4-AC for emacs-devel@gnu.org; Thu, 23 Aug 2007 13:48:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOGnQ-0002eR-Hl for emacs-devel@gnu.org; Thu, 23 Aug 2007 13:48:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOGnQ-0002eH-6b for emacs-devel@gnu.org; Thu, 23 Aug 2007 13:48:40 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOGnP-00015i-S3 for emacs-devel@gnu.org; Thu, 23 Aug 2007 13:48:39 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOGnP-00069f-D0 for emacs-pretest-bug@gnu.org; Thu, 23 Aug 2007 13:48:39 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IOGnM-00014w-6M for emacs-pretest-bug@gnu.org; Thu, 23 Aug 2007 13:48:39 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IOGnL-00014c-Ke for emacs-pretest-bug@gnu.org; Thu, 23 Aug 2007 13:48:36 -0400 Original-Received: (qmail invoked by alias); 23 Aug 2007 17:48:34 -0000 Original-Received: from N777P010.adsl.highway.telekom.at (EHLO [62.47.41.10]) [62.47.41.10] by mail.gmx.net (mp038) with SMTP; 23 Aug 2007 19:48:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19g7dMteZhgtW9dmkY54ATpRYTH1MRprD+Yy3ATAA wKzRc2i10Y/A1X User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87r6lul2fc.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:77040 gmane.emacs.pretest.bugs:19598 Archived-At: > It doesn't make a very big difference: it takes 17 seconds to open > ChangeLog.12 as opposed to 20 seconds without the patch. (I assume I > did it right: applied the patch and ran make in emacs/src to rebuild > the emacs executable, without recompiling the lisp files.) I suppose you don't want to run insert-file-contents with gdb. Could you try to edebug format-decode and tell whether the 17 secs are spent before calling it, while running it, or after calling it.