From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35503: 27.0.50; Startup output and slowdown break Emacs batch applications Date: Tue, 30 Apr 2019 18:39:57 +0300 Message-ID: <83a7g7sdrm.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="80796"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35503@debbugs.gnu.org, andlind@gmail.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 30 17:46:39 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLUxq-000Ks7-It for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 17:46:38 +0200 Original-Received: from localhost ([127.0.0.1]:48838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUxp-0002Nu-Gq for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 11:46:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUuI-0007OU-64 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:43:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLUsQ-0000Tf-QT for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:41:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLUsQ-0000TR-K6 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLUsQ-0002Dm-Dc for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 11:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35503 X-GNU-PR-Package: emacs Original-Received: via spool by 35503-submit@debbugs.gnu.org id=B35503.15566388108468 (code B ref 35503); Tue, 30 Apr 2019 15:41:02 +0000 Original-Received: (at 35503) by debbugs.gnu.org; 30 Apr 2019 15:40:10 +0000 Original-Received: from localhost ([127.0.0.1]:42187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLUra-0002CV-CF for submit@debbugs.gnu.org; Tue, 30 Apr 2019 11:40:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLUrY-0002CG-Op for 35503@debbugs.gnu.org; Tue, 30 Apr 2019 11:40:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUrT-0008U8-J1; Tue, 30 Apr 2019 11:40:03 -0400 Original-Received: from [176.228.60.248] (port=1127 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hLUrS-0006jz-M6; Tue, 30 Apr 2019 11:40:03 -0400 In-reply-to: (message from Robert Pluim on Tue, 30 Apr 2019 16:53:32 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158505 Archived-At: > From: Robert Pluim > Date: Tue, 30 Apr 2019 16:53:32 +0200 > Cc: 35503@debbugs.gnu.org > > >>>>> On Tue, 30 Apr 2019 16:42:48 +0200, Anders Lindgren said: > > Anders> Hi! I'm maintaining an Emacs batch application, e2ansi > Anders> (*). > > Anders> I just noticed two problems when using Emacs 27. > > Anders> 1) It prints a lot of output, whereas earlier versions are > Anders> quiet. The output include tons of "Loading xxx..." but > Anders> also the lines "dump mode: nil" and "Using load-path ...". > > Anders> 2) Startup times has increased from 0.11 seconds to 2.36 > Anders> seconds. > > Anders> To test this, simply run: > > Anders> time PATH-TO-Emacs --batch -Q > > Anders> I'm using a prebuilt Emacs from "emacsformacos.com". I've > Anders> tested the official Emacs 26.2 and the latest Emacs 27 > Anders> "nightie". > > My crystal ball says that PATH-TO-Emacs is really a symlink to the > actual location of Emacs. In that case, Emacs cannot (currently) > locate its dump file, hence all the output. If you run Emacs using the > fully specified real path, it should be much faster. My crystal ball agrees. In general, the description means that Emacs didn't find its pdump file, so it loads all the preloaded packages anew.