From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs empty startup time increased from v 27.1 to 29.0 by factor 3?
Date: Mon, 23 Jan 2023 17:08:17 +0200 [thread overview]
Message-ID: <83pmb5i90e.fsf@gnu.org> (raw)
In-Reply-To: <873581tkc0.fsf@no.workgroup> (message from Gregor Zattler on Mon, 23 Jan 2023 15:08:15 +0100)
> From: Gregor Zattler <telegraph@gmx.net>
> Date: Mon, 23 Jan 2023 15:08:15 +0100
>
> time /usr/bin/emacs-gtk -Q -nw -f save-buffers-kill-emacs
>
> which starts emacs 27.1 as precompiled in debian / Bullseye
> and kills it again, a low time values on my laptop are e.g.:
>
> real 0m0,328s
> user 0m0,262s
> sys 0m0,058s
>
>
> while for emacs v29.0 the same command line achives low
> values like this one:
>
> real 0m1,007s
> user 0m0,847s
> sys 0m0,154s
>
> The 29.0 version is compiled with native-compilation
> support. Does this explain the differences?
It could. Emacs with native-compilation needs to load all the
preloaded Lisp packages as shared libraries, as opposed to just
mapping the pdumper file into the address space in Emacs 27. To be
sure, build Emacs 29 without native-compilation, and then compare.
next prev parent reply other threads:[~2023-01-23 15:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-23 14:08 emacs empty startup time increased from v 27.1 to 29.0 by factor 3? Gregor Zattler
2023-01-23 15:08 ` Eli Zaretskii [this message]
2023-01-27 0:00 ` Gregor Zattler
2023-01-27 1:16 ` John Yates
2023-01-27 7:35 ` 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=83pmb5i90e.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
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).