unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: 35503@debbugs.gnu.org, andlind@gmail.com
Subject: bug#35503: 27.0.50; Startup output and slowdown break Emacs batch applications
Date: Tue, 30 Apr 2019 18:39:57 +0300	[thread overview]
Message-ID: <83a7g7sdrm.fsf@gnu.org> (raw)
In-Reply-To: <m2h8af5ytv.fsf@gmail.com> (message from Robert Pluim on Tue, 30 Apr 2019 16:53:32 +0200)

> From: Robert Pluim <rpluim@gmail.com>
> 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 <andlind@gmail.com> 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.





  reply	other threads:[~2019-04-30 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-30 14:42 bug#35503: 27.0.50; Startup output and slowdown break Emacs batch applications Anders Lindgren
2019-04-30 14:53 ` Robert Pluim
2019-04-30 15:39   ` Eli Zaretskii [this message]
2019-05-12 19:26     ` Anders Lindgren
2019-05-13  2:25       ` 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=83a7g7sdrm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=35503@debbugs.gnu.org \
    --cc=andlind@gmail.com \
    --cc=rpluim@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).