From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3 Date: Fri, 24 Oct 2008 02:58:04 +0100 Message-ID: <49012BAC.8010901@harpegolden.net> References: <20081022091136.GB924@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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224813507 28018 80.91.229.12 (24 Oct 2008 01:58:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 01:58:27 +0000 (UTC) Cc: acm@muc.de, Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 24 03:59:27 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 1KtBxU-0000uV-FB for ged-emacs-devel@m.gmane.org; Fri, 24 Oct 2008 03:59:24 +0200 Original-Received: from localhost ([127.0.0.1]:49123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtBwO-00066o-Ps for ged-emacs-devel@m.gmane.org; Thu, 23 Oct 2008 21:58:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtBwK-00066j-MM for emacs-devel@gnu.org; Thu, 23 Oct 2008 21:58:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtBwI-00066X-8j for emacs-devel@gnu.org; Thu, 23 Oct 2008 21:58:11 -0400 Original-Received: from [199.232.76.173] (port=40782 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtBwI-00066T-3W for emacs-devel@gnu.org; Thu, 23 Oct 2008 21:58:10 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:45163) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtBwG-0004Tg-PY; Thu, 23 Oct 2008 21:58:08 -0400 Original-Received: from [87.198.54.44] (87-198-54-44.ptr.magnet.ie [87.198.54.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 8C02D8350; Fri, 24 Oct 2008 02:58:06 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/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:104925 Archived-At: Lennart Borgman wrote: > It is probably different on w32 then. It looks like `normal-mode' > takes maybe 1.5 time insert+file-attr+file-modes+file-exist on w32. > (But I did not use elp, maybe I missed something.) I have a vague recollection that emacs' reading of certain file attributes can be slow on w32 as it's emulating them or something? There's a variable w32-get-true-file-attributes that may be relevant? Reminds me: the ext3 fs I was testing on was mounted "relatime" http://kerneltrap.org/node/14148 (also turns out NTFS apparently has something very much akin to the atime "feature", something I didn't know until just now, might want to try turning it off [1]) FWIW, elp - I just added the following to the end of my .emacs (require 'elp) (setq elp-function-list '(find-file find-file-noselect)) ; and so forth. (elp-set-master 'find-file-noselect) (elp-instrument-list) Then, starting emacs with emacs -l fftest.el -f elp-results I was presented with my profiling results when they were ready. (or you can hit M-x elp-results) [1] no. 8 http://www.windowsdevcenter.com/pub/a/windows/2005/02/08/NTFS_Hacks.html