emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 23.0 is much slower starting than Emacs 22.3


From: Alan Mackenzie
Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3
Date: Fri, 24 Oct 2008 19:28:46 +0000
User-agent: Mutt/1.5.9i

Hi, David!

On Fri, Oct 24, 2008 at 03:32:30PM +0100, David De La Harpe Golden wrote:
> Alan Mackenzie wrote:

[ .... ]

> >c-neutralize-syntax-in-CPP isn't the problem.

> Probably not, or at least not the slowdown you're seeing i.e. your
> relative emacs22/23 problem.  N.B. It wasn't intended as a slight - I
> do appreciate C is a relative pain to parse, syntax-highlight and deal
> with in general, .....

Thanks!

> ...., I'm_ not_ saying c-mode's apparently associated overhead is
> necessarily unreasonable,  but it may explain why stuff I was generally
> doing in emacs day-to-day seemed to load a little bit faster than this
> particular test case (if you recall, I was surprised at the result) - I
> relatively seldom edit c files!  But c-mode as a whole _does_ account
> for a significant chunk of the startup time on the 180 .c files I was
> testing with:

Good!

> time emacs -l fftest.el -f kill-emacs
> with in .emacs  a sneaky
> (setq auto-mode-alist (cons (cons "\\.c\\'" 'text-mode)  auto-mode-alist))

> emacs c-mode  realtime
> 22    on      4.951
> 23    on      7.388
> 22    off     2.830
> 23    off     4.089

That's something like I would expect.

By the way, did you see my other post in this thread (Subject: expanded a
bit), where I did a test creating 10,000,000 conses, and Emacs 23 was
appreciably slower than Emacs 22?  I suspect the garbage collector.

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]