unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Yanchi Tóth" <yanchi.toth@gmail.com>
Cc: 64847@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <83lef4ozsj.fsf@gnu.org> (raw)
In-Reply-To: <CAOE1KQPNa=EFRpxTCMEZwF5rt-5hsmyQ0r8ODjN1KPh7oAkGFw@mail.gmail.com> (message from Yanchi Tóth on Tue, 25 Jul 2023 15:23:37 +0200)

> From: Yanchi Tóth <yanchi.toth@gmail.com>
> Date: Tue, 25 Jul 2023 15:23:37 +0200
> Cc: 64847@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.





  reply	other threads:[~2023-07-25 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25  9:06 bug#64847: Emacs 29 RC1 takes around 25ms longer to start without config and about 25ms with config Yanchi Tóth
2023-07-25 12:49 ` Eli Zaretskii
2023-07-25 13:23   ` Yanchi Tóth
2023-07-25 14:01     ` Eli Zaretskii [this message]
2023-07-26  8:35       ` Yanchi Tóth
2023-07-26 11:23         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lef4ozsj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64847@debbugs.gnu.org \
    --cc=yanchi.toth@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).