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 #11 received at 64847 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yanchi Tóth <yanchi.toth <at> gmail.com>
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: Tue, 25 Jul 2023 17:01:48 +0300
> 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.




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.