From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3 Date: Fri, 24 Oct 2008 00:13:19 -0400 Message-ID: References: <20081022091136.GB924@muc.de> <20081022151444.GE924@muc.de> <48FF58FB.6000302@harpegolden.net> <20081022211202.GA1037@muc.de> <49001F5A.7040402@harpegolden.net> <20081023090908.GB2666@muc.de> <4900ACF9.7060501@harpegolden.net> <4900FF17.2000203@harpegolden.net> <49011336.10307@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224821615 12467 80.91.229.12 (24 Oct 2008 04:13:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 04:13:35 +0000 (UTC) Cc: acm@muc.de, Eli Zaretskii , Lennart Borgman , emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 24 06:14:36 2008 connect(): Connection refused 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 1KtE4J-0002Co-H4 for ged-emacs-devel@m.gmane.org; Fri, 24 Oct 2008 06:14:35 +0200 Original-Received: from localhost ([127.0.0.1]:41158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtE3D-0007NL-H5 for ged-emacs-devel@m.gmane.org; Fri, 24 Oct 2008 00:13:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtE39-0007NG-DV for emacs-devel@gnu.org; Fri, 24 Oct 2008 00:13:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtE37-0007Me-Ro for emacs-devel@gnu.org; Fri, 24 Oct 2008 00:13:23 -0400 Original-Received: from [199.232.76.173] (port=46751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtE37-0007MW-Ov for emacs-devel@gnu.org; Fri, 24 Oct 2008 00:13:21 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:55961) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtE36-0001L7-Qn; Fri, 24 Oct 2008 00:13:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjMFAO/nAElFxLrB/2dsb2JhbACBdb95g06BCw X-IronPort-AV: E=Sophos;i="4.33,474,1220241600"; d="scan'208";a="28803411" Original-Received: from 69-196-186-193.dsl.teksavvy.com (HELO ceviche.home) ([69.196.186.193]) by ironport2-out.teksavvy.com with ESMTP; 24 Oct 2008 00:13:20 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5458EB4099; Fri, 24 Oct 2008 00:13:19 -0400 (EDT) In-Reply-To: <49011336.10307@harpegolden.net> (David De La Harpe Golden's message of "Fri, 24 Oct 2008 01:13:42 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:104930 Archived-At: > Most of the latter is in "hack-project-variables", and most of /that/ is > "project-find-settings-file", and most of that is the > "locate-dominating-file" walk. locate-dominating-file (or rather some equivalent code) is also used in VC to detect the revision control system used for the file. It's actually used 5 times there (once each for Bzr Git Hg Mtn Arch), so are you sure only the one in project-find-settings-file costs us the slowdown? If so, it's probably just because it's the first one run and the others benefit from the OS's cache. Stefan