From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3 Date: Wed, 22 Oct 2008 21:40:53 +0000 Message-ID: <20081022214053.GB1037@muc.de> References: <20081022091136.GB924@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224711092 28121 80.91.229.12 (22 Oct 2008 21:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 21:31:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 22 23:32:33 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 1KslJg-0006rs-HK for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 23:32:32 +0200 Original-Received: from localhost ([127.0.0.1]:46224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KslIb-00053H-1Y for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 17:31:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KslIW-00051D-M7 for emacs-devel@gnu.org; Wed, 22 Oct 2008 17:31:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KslIV-0004z2-17 for emacs-devel@gnu.org; Wed, 22 Oct 2008 17:31:20 -0400 Original-Received: from [199.232.76.173] (port=36469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KslIU-0004ys-O5 for emacs-devel@gnu.org; Wed, 22 Oct 2008 17:31:18 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:3291 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KslIU-0003Uu-B9 for emacs-devel@gnu.org; Wed, 22 Oct 2008 17:31:18 -0400 Original-Received: (qmail 63796 invoked by uid 3782); 22 Oct 2008 21:31:16 -0000 Original-Received: from acm.muc.de (pD9E2342D.dip.t-dialin.net [217.226.52.45]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 22 Oct 2008 23:31:14 +0200 Original-Received: (qmail 3008 invoked by uid 1000); 22 Oct 2008 21:40:53 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:104867 Archived-At: Hi, Eli! On Wed, Oct 22, 2008 at 08:26:28PM +0200, Eli Zaretskii wrote: > > Date: Wed, 22 Oct 2008 09:11:36 +0000 > > From: Alan Mackenzie > > I have an extremely medium speed processor (Athlon 1.2 GHz) and, at the > > moment, a well-padded .emacs.desktop. > > Starting Emacs 22.3 takes 23 seconds. > > Starting Emacs 23.0 takes 38 seconds. > Is this with -Q? If not, what are numbers with -Q? With -Q: Emacs 22: ~0.4s Emacs 23: ~0.7s Even here, Emacs 23 is noticeably slower. With a one-line .emacs, (desktop-save-mode 1), and starting with --no-site-file, the timing for Emacs 22 was essentially the same (~28s, but I was a bit slow typing 'y' to ~5 prompts for File local variables and hi-lock-mode's fonts). Emacs 23 threw an error after loading ~15 files. The error was "c-define-lang-constant: `c-lang-defconst' must be used in a file", which is one of mine. :-( But the loading of the files seemed just as sluggish. It doesn't seem like it's anything in my .emacs/site-start.el causing the slowness. -- Alan Mackenzie (Nuremberg, Germany).