From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yanchi =?UTF-8?Q?T=C3=B3th?= Newsgroups: gmane.emacs.bugs Subject: 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-ID: References: <83tttsp34b.fsf@gnu.org> <83lef4ozsj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eebd4b06015fb927" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64847@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 26 10:36:36 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qOa0Z-0009eJ-1Y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jul 2023 10:36:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOa04-0007nJ-KB; Wed, 26 Jul 2023 04:36:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOa02-0007mY-PF for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 04:36:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOa02-0003YA-89 for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 04:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOa02-0005wK-3Q for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 04:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yanchi =?UTF-8?Q?T=C3=B3th?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jul 2023 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64847 X-GNU-PR-Package: emacs Original-Received: via spool by 64847-submit@debbugs.gnu.org id=B64847.169036052122783 (code B ref 64847); Wed, 26 Jul 2023 08:36:02 +0000 Original-Received: (at 64847) by debbugs.gnu.org; 26 Jul 2023 08:35:21 +0000 Original-Received: from localhost ([127.0.0.1]:47523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOZzM-0005vO-Ge for submit@debbugs.gnu.org; Wed, 26 Jul 2023 04:35:20 -0400 Original-Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:47145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOZzK-0005v5-QW for 64847@debbugs.gnu.org; Wed, 26 Jul 2023 04:35:19 -0400 Original-Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3a4875e65a3so4114947b6e.2 for <64847@debbugs.gnu.org>; Wed, 26 Jul 2023 01:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690360513; x=1690965313; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AUhLPyvmvMsZFJJFWFEPHHA3wO4umLxr/prLERy11qE=; b=g0Yc/qWF58H0HtQoWV9gPwTHDqJOjE7tSoTpnFX2pwTFoBMBVK9w3aswH5uePp70R+ 3Cgfo+qoQk/FDdCjsV7gxfufRltu8K+76bNvEdudAmwLuRmUeNowCw7iy/XSTzLt1tXw YMQJzskTk8NEBXbc+Y2XF5XcDF3qi5FbGPS8RIPGo6JcfJUdukakJSjsEtn8KZbtjmVV EnTog0hLiPNtUi91zQFNoNCbDtoce0TLrzghwLNXduVnIkLRajRo4HXIg+vJx8+4Qwpc wv/oGPoBU8Nq1jCN97HbqZc/HsbeX2wVyMgRsZz6GRIvfo9btw65D8XQGxDO6Mq2i096 g0tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690360513; x=1690965313; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AUhLPyvmvMsZFJJFWFEPHHA3wO4umLxr/prLERy11qE=; b=VSJHPV0fKF5gtiSrMGboxKMam/yXfvIeLcFcluLVPud5sgepLfH7ZN90il5iaRNSs2 7CDyKnj2Mun25K3HALMrTxzZ8NB/UiegfADXczVlLB3u5ycQ7RQoTJWeYaygR1CophYX fHI+4q03l8ZpWdQL+qT1N2B+QagLzvtqwnynC2gz28yzXzHOuOZs/4Pdetz7mr6uR2Ua jA4AnFzJEcuFrPta4f0jxNibbBoNwniACxBOUmkgo493W4j9QtYfw+dFSEIgUhD1XY8O X51S4Sm/Jq9YHfYFF8T2ZW8HCm59sCkjhuus7ResO5TSUpwd7RCe/97jE7vQ6ElNiPj5 ATRQ== X-Gm-Message-State: ABy/qLa3kaULIFQaawbOLcwcfnrg/H83pOinbr7XMCIcq2Fud4NJ6tLA IcqKfsIpM+gw5MZ6MewnNs073U1NtnB9SvXksRhIBJsT X-Google-Smtp-Source: APBJJlHiN1WiYrC58sMkNdT6iIE3t92v03Q4+vS0L48tVscFl0kln1bsOeVlLbtvyygeAJDTF4gRtUSWIRiLxYJ+CJI= X-Received: by 2002:a05:6808:91a:b0:3a5:98b4:c139 with SMTP id w26-20020a056808091a00b003a598b4c139mr1255100oih.20.1690360513213; Wed, 26 Jul 2023 01:35:13 -0700 (PDT) In-Reply-To: <83lef4ozsj.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266106 Archived-At: --000000000000eebd4b06015fb927 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Eli Zaretskii wrote: > > From: Yanchi T=C3=B3th > > 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. > --000000000000eebd4b06015fb927 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am used about thinking about submillisecond times, so I = definitely noticed, but on the other hand, the libraries bring value. I thi= nk the final decision rests with you :)

On Tue, Jul 25, 2023 at 4:01=E2= =80=AFPM Eli Zaretskii <eliz@gnu.org= > wrote:
>= From: Yanchi T=C3=B3th <yanchi.toth@gmail.com>
> Date: Tue, 25 Jul 2023 15:23:37 +0200
> Cc: 64847@d= ebbugs.gnu.org
>
> Here's the configuration data for 28.2. I believe it says it was b= uilt 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.
--000000000000eebd4b06015fb927--