From: arthur.miller@live.com
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: arthur.miller@live.com, emacs-devel@gnu.org
Subject: Re: bug#30854: 27.0.50; Speeding up package.el startup
Date: Sat, 19 Dec 2020 17:34:36 +0100 [thread overview]
Message-ID: <AM0PR06MB6577F0502CAC56AC161EA9CD96C20@AM0PR06MB6577.eurprd06.prod.outlook.com> (raw)
In-Reply-To: <jwv7dpfrs74.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 18 Dec 2020 11:37:29 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> But byte compilation of that file gives boost in itself;
>
> [ BTW, I just pushed to `master` a patch that byte-compiles the
> quickstart file. ]
>
>> just not as much as I got when I disabled package-quickstart.
>
> I'm surprised there's much difference: you mentioned
> `package-initialize` but nowadays `package-initialize` is not called in
> a normal Emacs startup: `package-activate-all` is used instead.
> And `package-activate-all` reduces to loading the quickstart file if
> that file exists.
>
> Any chance you could try and dig deeper to try and find more precisely
> the origin of the performance difference you see?
>
Unfortunately I got less time then I thought I would have today.
I have tested some more with following:
Quick start enabled:
early-init.el
(setq package-quickstart t)
init.el
(package-activate-all)
package-quickstart.el is byte- compiled
startup time ~0.28 to ~0.30
Quick start disabled:
early-init.el:
(setq package-quickstart nil
package-quickstart nil
package-enable-at-startup nil
package--init-file-ensured t)
init.el:
(defvar package-activated-list nil)
(setq load-path (append
'("/home/arthur/.emacs.d/elpa/yasnippet-20200604.246" .... "/home/arthur/.emacs.d/elpa/async-20200809.501") load-path))
followed by pasted package-quickstart.el with removed add-to-list
for load-path statements
What I see is that startup time is consistently somewhat faster with
"disabled" quickstart. I am getting ~0.24 with my version; and ~0.28
with "original" quickstart.
All other things equal.
See if there is something wrong in how I enable quicstart above.
best regards
/a
next prev parent reply other threads:[~2020-12-19 16:34 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-18 10:56 bug#30854: 27.0.50; Speeding up package.el startup arthur.miller
2020-12-18 15:02 ` Stefan Monnier
2020-12-18 16:05 ` arthur.miller
2020-12-18 16:37 ` Stefan Monnier
2020-12-18 22:58 ` Basil L. Contovounesios
2020-12-18 23:26 ` Stefan Monnier
2020-12-19 16:34 ` arthur.miller [this message]
2020-12-19 17:59 ` Stefan Monnier
2020-12-19 18:23 ` Stefan Kangas
2020-12-19 20:56 ` Stefan Monnier
2020-12-20 2:47 ` Pankaj Jangid
2020-12-20 14:23 ` Arthur Miller
2020-12-20 14:52 ` Stefan Monnier
2020-12-20 15:13 ` Arthur Miller
2020-12-20 17:16 ` Stefan Monnier
2020-12-20 22:23 ` arthur miller
2020-12-20 23:35 ` arthur miller
2020-12-20 23:44 ` Stefan Monnier
2020-12-20 23:46 ` arthur miller
2020-12-21 16:32 ` Arthur Miller
2020-12-21 17:11 ` Stefan Kangas
2020-12-21 17:32 ` Arthur Miller
2020-12-21 18:16 ` Arthur Miller
2020-12-21 18:58 ` Stefan Monnier
2020-12-21 19:51 ` Arthur Miller
2020-12-21 18:31 ` Stefan Monnier
2020-12-21 19:45 ` Arthur Miller
2020-12-21 20:03 ` Stefan Monnier
2020-12-21 20:58 ` Arthur Miller
2020-12-21 22:14 ` Stefan Monnier
2020-12-21 23:15 ` Arthur Miller
2020-12-22 3:35 ` Stefan Monnier
2020-12-22 11:03 ` Arthur Miller
2020-12-22 14:50 ` Stefan Monnier
2020-12-22 16:55 ` Arthur Miller
2020-12-22 17:20 ` Stefan Monnier
2020-12-22 18:24 ` Arthur Miller
2020-12-22 19:44 ` Stefan Monnier
2020-12-22 20:45 ` Arthur Miller
2020-12-20 23:45 ` arthur miller
2020-12-19 21:12 ` arthur miller
2020-12-19 21:16 ` arthur miller
-- strict thread matches above, loose matches on Subject: below --
2018-03-19 14:26 Stefan Monnier
2018-03-26 13:42 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM0PR06MB6577F0502CAC56AC161EA9CD96C20@AM0PR06MB6577.eurprd06.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.