From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How to profile restoring from .emacs.desktop
Date: Thu, 28 Jan 2021 14:08:10 -0500 [thread overview]
Message-ID: <jwvk0rwvq6g.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 86v9bhlzky.fsf@dod.no
> But a deep analysis probably isn't necessary, opening the biggest nodes
> in the profile, it's pretty obvious that the biggest culprit is
> projectile-discover-projects-in-directory the function it calls, with
> the biggest chunks, before it all breaks down into many small things,
> are projectile-serialize and projectile-difference.
>
> So it's projectile project discovery that spends most of the time.
> I wonder if that information can be cached...?
I don't use Projectile and never looked at its code, so I can't
answer that. I don't know either how Projectile compares to Emacs's
builtin support for projects (tho I expect it's significantly more
featureful), but you may want to try that builtin support instead of
Projectile to see if it suffers from a similar problem, and/or if it
provides the subset of features you happen to use.
Stefan
next prev parent reply other threads:[~2021-01-28 19:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-27 17:11 How to profile restoring from .emacs.desktop Steinar Bang
2021-01-27 17:42 ` Stefan Monnier
2021-01-28 17:51 ` Steinar Bang
2021-01-28 19:08 ` Stefan Monnier [this message]
2021-01-28 22:31 ` Steinar Bang
2021-01-28 22:58 ` Stefan Monnier
2021-01-28 23:33 ` Dmitry Gutov
2021-06-19 9:02 ` project-mode vs projectile (Was: How to profile restoring from .emacs.desktop) Steinar Bang
2021-06-27 0:20 ` Dmitry Gutov
2021-09-05 11:35 ` project-mode vs projectile Steinar Bang
2021-09-05 14:56 ` Nikolay Kudryavtsev
2021-10-07 2:39 ` Dmitry Gutov
2021-01-29 22:05 ` How to profile restoring from .emacs.desktop Steinar Bang
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=jwvk0rwvq6g.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/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.
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).