GNU bug report logs - #64847
Emacs 29 RC1 takes around 25ms longer to start without config and about 25ms with config

Previous Next

Package: emacs;

Reported by: Yanchi Tóth <yanchi.toth <at> gmail.com>

Date: Tue, 25 Jul 2023 10:21:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 64847 <at> debbugs.gnu.org (full text, mbox):

From: Yanchi Tóth <yanchi.toth <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64847 <at> debbugs.gnu.org
Subject: Re: bug#64847: Emacs 29 RC1 takes around 25ms longer to start without
 config and about 25ms with config
Date: Wed, 26 Jul 2023 10:35:02 +0200
[Message part 1 (text/plain, inline)]
I am used about thinking about submillisecond times, so I definitely
noticed, but on the other hand, the libraries bring value. I think the
final decision rests with you :)

On Tue, Jul 25, 2023 at 4:01 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Yanchi Tóth <yanchi.toth <at> gmail.com>
> > Date: Tue, 25 Jul 2023 15:23:37 +0200
> > Cc: 64847 <at> debbugs.gnu.org
> >
> > Here's the configuration data for 28.2. I believe it says it was built
> with --with-native-compilation, but
> > not AOT. Is that where you expect the time difference to come from?
>
> Could be, mainly in the "w/ config" case, where presumably Emacs loads
> packages that are not preloaded.
>
> In addition, Emacs 29.1 loads 8 more preloaded packages than Emacs
> 28.2 does, even without config, and those 8 additional *.eln files
> need to be loaded at startup (they are DLLs in disguise), which takes
> time, especially if your system has some antivirus software active
> which checks every DLL loaded by a program.
>
> So I don't think 25 msec of additional startup time sounds outlandish
> to me.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.