unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Load change in master?
@ 2019-05-09 10:24 Ergus
  2019-05-09 10:31 ` Noam Postavsky
  0 siblings, 1 reply; 5+ messages in thread
From: Ergus @ 2019-05-09 10:24 UTC (permalink / raw)
  To: emacs-devel

Hi I just build the master branch and the load time increased a
lot. Looking at the *Message* buffer I see that even with the -Q option
it loads a lot of files (and prints messages) it was not doing that
before:

-----
emacs -Q

Loading loadup.el (source)...
dump mode: nil
Using load-path (/home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/emacs-lisp /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/progmodes /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/language /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/international /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/textmodes /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/vc)
Loading emacs-lisp/byte-run...done
Loading emacs-lisp/backquote...done
Loading subr...done
Loading version...done
Loading widget...done
Loading custom...done
Loading emacs-lisp/map-ynp...done
Loading international/mule...done
Loading international/mule-conf...done
Loading env...done
Loading format...done
Loading bindings...done
Loading window...done
Loading files...done
Loading emacs-lisp/macroexp...done
Loading cus-face...done
Loading faces...done
Loading button...done
Loading /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/loaddefs.el (source)...done
Loading emacs-lisp/nadvice...done
Loading emacs-lisp/cl-preloaded...done
Loading minibuffer...done
Loading obarray...done
Loading abbrev...done
Loading simple...done
Loading help...done
Loading jka-cmpr-hook...done
Loading epa-hook...done
Loading international/mule-cmds...done
Loading case-table...done
Loading /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/international/charprop.el (source)...done
Loading international/characters...done
Loading composite...done
Loading language/chinese...done
Loading language/cyrillic...done
Loading language/indian...done
Loading language/sinhala...done
Loading language/english...done
Loading language/ethiopic...done
Loading language/european...done
Loading language/czech...done
Loading language/slovak...done
Loading language/romanian...done
Loading language/greek...done
Loading language/hebrew...done
Loading international/cp51932...done
Loading international/eucjp-ms...done
Loading language/japanese...done
Loading language/korean...done
Loading language/lao...done
Loading language/tai-viet...done
Loading language/thai...done
Loading language/tibetan...done
Loading language/vietnamese...done
Loading language/misc-lang...done
Loading language/utf-8-lang...done
Loading language/georgian...done
Loading language/khmer...done
Loading language/burmese...done
Loading language/cham...done
Loading indent...done
Loading emacs-lisp/cl-generic...done
Loading frame...done
Loading startup...done
Loading term/tty-colors...done
Loading font-core...done
Loading facemenu...done
Loading emacs-lisp/syntax...done
Loading font-lock...done
Loading jit-lock...done
Loading mouse...done
Loading scroll-bar...done
Loading select...done
Loading emacs-lisp/timer...done
Loading isearch...done
Loading rfn-eshadow...done
Loading menu-bar...done
Loading emacs-lisp/lisp...done
Loading textmodes/page...done
Loading register...done
Loading textmodes/paragraphs...done
Loading progmodes/prog-mode...done
Loading emacs-lisp/lisp-mode...done
Loading progmodes/elisp-mode...done
Loading textmodes/text-mode...done
Loading textmodes/fill...done
Loading newcomment...done
Loading replace...done
Loading emacs-lisp/tabulated-list...done
Loading buff-menu...done
Loading fringe...done
Loading emacs-lisp/regexp-opt...done
Loading image...done
Loading international/fontset...done
Loading dnd...done
Loading tool-bar...done
Loading dynamic-setting...done
Loading x-dnd...done
Loading term/common-win...done
Loading term/x-win...done
Loading mwheel...done
Loading emacs-lisp/float-sup...done
Loading vc/vc-hooks...done
Loading vc/ediff-hook...done
Loading uniquify...done
Loading electric...done
Loading emacs-lisp/eldoc...done
Loading cus-start...done
Loading tooltip...done
Loading /home/ergus/emacs/emacs.install_arch/share/emacs/27.0.50/lisp/leim/leim-list.el (source)...done
Finding pointers to doc strings...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading loadup.el (source)...done

----------------------------------

Do we really need to load so many languages for example?

My load time increased 4 times even with -Q and no file it takes more
than 2 seconds and before it was actually faster than vim.

What changed?

Best,
Ergus



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Load change in master?
  2019-05-09 10:24 Load change in master? Ergus
@ 2019-05-09 10:31 ` Noam Postavsky
  2019-05-09 10:43   ` Ergus
  0 siblings, 1 reply; 5+ messages in thread
From: Noam Postavsky @ 2019-05-09 10:31 UTC (permalink / raw)
  To: Ergus; +Cc: Emacs developers

On Thu, 9 May 2019 at 06:25, Ergus <spacibba@aol.com> wrote:
>
> Hi I just build the master branch and the load time increased a
> lot. Looking at the *Message* buffer I see that even with the -Q option
> it loads a lot of files (and prints messages) it was not doing that
> before:

This is Bug#35503; probably emacs is failing to find the dump file due
to symlinks.

https://debbugs.gnu.org/35503



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Load change in master?
  2019-05-09 10:31 ` Noam Postavsky
@ 2019-05-09 10:43   ` Ergus
  2019-05-09 10:51     ` Eli Zaretskii
  2019-05-09 13:33     ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Ergus @ 2019-05-09 10:43 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Emacs developers

Hi I don't have a link for that, I have emacs in a different path and I
add it to the system PATH in the bashrc. This is not supposed to fail
right?

How can I debug how emacs looks for the dump file? 

On Thu, May 09, 2019 at 06:31:14AM -0400, Noam Postavsky wrote:
>On Thu, 9 May 2019 at 06:25, Ergus <spacibba@aol.com> wrote:
>>
>> Hi I just build the master branch and the load time increased a
>> lot. Looking at the *Message* buffer I see that even with the -Q option
>> it loads a lot of files (and prints messages) it was not doing that
>> before:
>
>This is Bug#35503; probably emacs is failing to find the dump file due
>to symlinks.
>
>https://debbugs.gnu.org/35503



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Load change in master?
  2019-05-09 10:43   ` Ergus
@ 2019-05-09 10:51     ` Eli Zaretskii
  2019-05-09 13:33     ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2019-05-09 10:51 UTC (permalink / raw)
  To: Ergus; +Cc: npostavs, emacs-devel

> Date: Thu, 9 May 2019 12:43:10 +0200
> From: Ergus <spacibba@aol.com>
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> How can I debug how emacs looks for the dump file? 

Step with a debugger into load_pdump, which is called from 'main'.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Load change in master?
  2019-05-09 10:43   ` Ergus
  2019-05-09 10:51     ` Eli Zaretskii
@ 2019-05-09 13:33     ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2019-05-09 13:33 UTC (permalink / raw)
  To: emacs-devel

> Hi I don't have a link for that, I have emacs in a different path and I
> add it to the system PATH in the bashrc. This is not supposed to fail
> right?

Yes, it's supposed to fail (until we fix bug#35503 that is), unless
Emacs has been "make install"d properly.
In the mean time I use a script (in my PATH) which runs Emacs by
specifying its full file-name.


        Stefan




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-09 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-09 10:24 Load change in master? Ergus
2019-05-09 10:31 ` Noam Postavsky
2019-05-09 10:43   ` Ergus
2019-05-09 10:51     ` Eli Zaretskii
2019-05-09 13:33     ` Stefan Monnier

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).