From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3 Date: Fri, 24 Oct 2008 18:53:38 +0200 Message-ID: References: <20081022091136.GB924@muc.de> <20081022211202.GA1037@muc.de> <49001F5A.7040402@harpegolden.net> <20081023090908.GB2666@muc.de> <4900ACF9.7060501@harpegolden.net> <4900FF17.2000203@harpegolden.net> <4901FB95.8080703@harpegolden.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1224867271 30074 80.91.229.12 (24 Oct 2008 16:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 16:54:31 +0000 (UTC) Cc: acm@muc.de, lennart.borgman@gmail.com, monnier@iro.umontreal.ca, 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 18:55:32 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 1KtPwX-00087m-Gn for ged-emacs-devel@m.gmane.org; Fri, 24 Oct 2008 18:55:21 +0200 Original-Received: from localhost ([127.0.0.1]:45489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtPvR-0002Jf-PW for ged-emacs-devel@m.gmane.org; Fri, 24 Oct 2008 12:54:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtPvN-0002JG-FQ for emacs-devel@gnu.org; Fri, 24 Oct 2008 12:54:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtPvL-0002IO-Su for emacs-devel@gnu.org; Fri, 24 Oct 2008 12:54:08 -0400 Original-Received: from [199.232.76.173] (port=39976 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtPvL-0002IH-Ou for emacs-devel@gnu.org; Fri, 24 Oct 2008 12:54:07 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:47169) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtPvL-0005pt-UW for emacs-devel@gnu.org; Fri, 24 Oct 2008 12:54:08 -0400 Original-Received: from HOME-C4E4A596F7 ([77.126.233.32]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K9900LLX5NYI164@i_mtaout5.012.net.il> for emacs-devel@gnu.org; Fri, 24 Oct 2008 18:55:26 +0200 (IST) In-reply-to: <4901FB95.8080703@harpegolden.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:104954 Archived-At: > Date: Fri, 24 Oct 2008 17:45:09 +0100 > From: David De La Harpe Golden > CC: Eli Zaretskii , acm@muc.de, monnier@iro.umontreal.ca, > emacs-devel@gnu.org > > The file attributes are a w32-specific problem I guess On Posix systems, `stat' (called by file-attributes) is a system call, so it obviously doesn't depend on the Emacs versions. By contrast, on Windows we emulate `stat' with several quite expensive system calls. Thus, it is meaningless to compare GNU/Linux and Windows as far as file-attributes is concerned. > (a) about 40x faster than your w32 emacs23 and (b) similar between > emacs22/23 (actually slightly faster with 23 in the test runs, but that > could just be the GC and general noise). Yes, none of these primitives is the hot spot.