From f6ab044eb2f565fd85015cee9d2211ad59cdc576 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 16 Oct 2023 08:42:06 +0100 Subject: (Emacs/config)~disable esup by default Only when I'm doing an optimising job do I need esup. Shouldn't need it otherwise. --- Emacs/.config/emacs/config.org | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index afc4630..2194e42 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -453,15 +453,22 @@ necessary. :init (setq-default display-line-numbers-type 'relative)) #+end_src -** esup -I used to be able to just use [[file:elisp/profiler-dotemacs.el][profile-dotemacs.el]], when my Emacs -config was smaller, but now it tells me very little information 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. - +** WIP esup +:PROPERTIES: +:header-args:emacs-lisp: :tangle no +:END: +I used to be able to just use +[[file:elisp/profiler-dotemacs.el][profile-dotemacs.el]], when my +Emacs config was smaller, but now it tells me very little information +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 (use-package esup :defer t) -- cgit v1.2.3-13-gbd6f