[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to profile restoring from .emacs.desktop
From: |
Stefan Monnier |
Subject: |
Re: How to profile restoring from .emacs.desktop |
Date: |
Wed, 27 Jan 2021 12:42:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Steinar,
> Is it possible to profile the restore from .emacs.desktop in some way?
You can add
(profiler-start 'cpu)
in your init file somewhere before loading the `.emacs.desktop` and then
call `M-x profiler-report` when the startup is done (or call
`(profiler-report)` at the end of your init file, tho I've never tried
that and there's a chance/risk that the desktop loading actually
continues long after the end of init file so it may capture too short
a profile).
Stefan
- How to profile restoring from .emacs.desktop, Steinar Bang, 2021/01/27
- Re: How to profile restoring from .emacs.desktop,
Stefan Monnier <=
- Re: How to profile restoring from .emacs.desktop, Steinar Bang, 2021/01/28
- Re: How to profile restoring from .emacs.desktop, Stefan Monnier, 2021/01/28
- Re: How to profile restoring from .emacs.desktop, Steinar Bang, 2021/01/28
- Re: How to profile restoring from .emacs.desktop, Stefan Monnier, 2021/01/28
- Re: How to profile restoring from .emacs.desktop, Dmitry Gutov, 2021/01/28
- Re: How to profile restoring from .emacs.desktop, Steinar Bang, 2021/01/29