(Emacs/config)~disable esup by default

Only when I'm doing an optimising job do I need esup.  Shouldn't need
it otherwise.
This commit is contained in:
2023-10-16 08:42:06 +01:00
parent af191e7de8
commit f6ab044eb2

View File

@@ -453,15 +453,22 @@ necessary.
:init :init
(setq-default display-line-numbers-type 'relative)) (setq-default display-line-numbers-type 'relative))
#+end_src #+end_src
** esup ** WIP esup
I used to be able to just use [[file:elisp/profiler-dotemacs.el][profile-dotemacs.el]], when my Emacs :PROPERTIES:
config was smaller, but now it tells me very little information about :header-args:emacs-lisp: :tangle no
where my setup is inefficient due to the literate config. Just found :END:
this ~esup~ thing and it works perfectly, exactly how I would prefer I used to be able to just use
getting this kind of information. It runs an external Emacs instance [[file:elisp/profiler-dotemacs.el][profile-dotemacs.el]], when my
and collects information from it, so it doesn't require restarting Emacs config was smaller, but now it tells me very little information
Emacs to profile. about where my setup is inefficient due to the literate config. Just
found this ~esup~ thing and it works perfectly, exactly how I would
prefer getting this kind of information. It runs an external Emacs
instance and collects information from it, so it doesn't require
restarting Emacs to profile, and I can compile my configuration in my
current instance to test it immediately.
2023-10-16: Unless I'm doing some optimisations or tests, I don't
really need this in my config at all times. Enable when needed.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package esup (use-package esup
:defer t) :defer t)