[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#30854: 27.0.50; Speeding up package.el startup
From: |
Arthur Miller |
Subject: |
Re: bug#30854: 27.0.50; Speeding up package.el startup |
Date: |
Sun, 20 Dec 2020 16:13:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> But yes, I think it would make a lot of sense to split package.el into the
>>> part
>>> that manages installation/updates/... and the part that just activates
>>> the packages installed and to preload the second part.
>>> Also exposing the API of that second part might encourage other package
>>> managers to make use of it.
>>>
>>>
>>> Stefan
>> It seems you were correct.
>> I just added (require 'package) and the startup time went t0 0.29+;
>
> Thanks for confirming,
>
> Would you be interested in trying to split package.el into the "core
> part" needed for `package-activate-all` (and which we could then
> preload), and the rest?
>
>
> Stefan
I have arrived to this from slightly different direction: I did some
optimization as described in Emacs Doom Faq, and just noticed quickstart
file took some time, and looked and it's contents; so I am not really
introduced in what package.el does. It will take me some time to get
into it.
In my own init I do rude directory-files listing to get all directories
in Elpa directory and I just add those to the path; but packages can be
installed in different places etc; so I will have to take a look at how it
is done and what is safe to do/assuem etc.
If it is no rush with this, I'll look at it tomorrow and see if I can do
it.
- Re: bug#30854: 27.0.50; Speeding up package.el startup, (continued)
- Re: bug#30854: 27.0.50; Speeding up package.el startup, arthur . miller, 2020/12/19
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/19
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Kangas, 2020/12/19
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/19
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Pankaj Jangid, 2020/12/19
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/20
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/20
- Re: bug#30854: 27.0.50; Speeding up package.el startup,
Arthur Miller <=
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Kangas, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21