From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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 14:59:37 -0400 Message-ID: References: <87veb6l9b0.fsf@escher.local.home> <46CD98DC.1050701@gmx.at> <87r6lul2fc.fsf@escher.local.home> <46CDC8B3.7000301@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187895590 7313 80.91.229.12 (23 Aug 2007 18:59:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 18:59:50 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Stephen Berman To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 23 20:59:48 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 1IOHuF-0005La-9w for ged-emacs-devel@m.gmane.org; Thu, 23 Aug 2007 20:59:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOHuE-0006z6-RE for ged-emacs-devel@m.gmane.org; Thu, 23 Aug 2007 14:59:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOHuB-0006x9-Es for emacs-devel@gnu.org; Thu, 23 Aug 2007 14:59:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOHu9-0006vm-TO for emacs-devel@gnu.org; Thu, 23 Aug 2007 14:59:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOHu9-0006vd-QD for emacs-devel@gnu.org; Thu, 23 Aug 2007 14:59:41 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOHu9-00077t-G4 for emacs-devel@gnu.org; Thu, 23 Aug 2007 14:59:41 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOHu9-0001Ve-0P for emacs-pretest-bug@gnu.org; Thu, 23 Aug 2007 14:59:41 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IOHu6-00077X-OW for emacs-pretest-bug@gnu.org; Thu, 23 Aug 2007 14:59:41 -0400 Original-Received: from tomts16.bellnexxia.net ([209.226.175.4] helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOHu6-00077R-EF for emacs-pretest-bug@gnu.org; Thu, 23 Aug 2007 14:59:38 -0400 Original-Received: from ceviche.home ([70.55.80.33]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070823185937.HJEK574.tomts16-srv.bellnexxia.net@ceviche.home> for ; Thu, 23 Aug 2007 14:59:37 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3AA8470168; Thu, 23 Aug 2007 14:59:36 -0400 (EDT) In-Reply-To: <46CDC8B3.7000301@gmx.at> (martin rudalics's message of "Thu\, 23 Aug 2007 19\:49\:39 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Solaris 8 (1) 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:77044 gmane.emacs.pretest.bugs:19599 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. I think this has nothing to do with it: Tramp implements insert-file-contents in Elisp. Stefan