emacs-devel
[Top][All Lists]
Advanced

[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: Sat, 19 Dec 2020 21:12:56 +0000

Personally I would Peter it out of "normal" session completely. In my opinion package administration is relatively rarely performed operation. What I mean with that is that, compared to something like some other functionality, package.el functions are called very few times and on user demand, I.e. they are not performance critical.

So package can be initialized when user asks for some of it "entrance " functions, via auotoload. What has to be done is of course bring in paths and auotoload into user session. That was my idea with merging auotoloads and paths in my experiment.


-------- Originalmeddelande --------
Från: Stefan Kangas <stefankangas@gmail.com>
Datum: 2020-12-19 19:24 (GMT+01:00)
Till: Stefan Monnier <monnier@iro.umontreal.ca>, arthur.miller@live.com
Kopia: emacs-devel@gnu.org
Ämne: Re: bug#30854: 27.0.50; Speeding up package.el startup

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Maybe the difference is just due to loading `package`?
> IOW, what happens if you add (require 'package) to your "Quick start
> disabled" version?  Does the startup time go back up to ~0.28?

Why not just preload package.el?  A good 75 percent of our users seem to
use it, according to the Emacs Survey.

28.8 %  built-in package.el
46.3 %  use-package [uses package.el behind the scenes]
------
75.1 %  total

Source: https://emacssurvey.org/2020/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]