all repos — nixfiles @ ba904dd7386f785e3865358549625586de2879df

System and user configuration, managed by nix and home-manager

Emacs: always trace init time
Alan Pearce alan@alanpearce.eu
Wed, 21 Jun 2023 12:59:09 +0200
commit

ba904dd7386f785e3865358549625586de2879df

parent

8f47d540ce6b1b56aebfa427e9f7d2d7e44e9bb4

2 files changed, 5 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -30,6 +30,10 @@ ,@body)) (defun quiet (original-function &rest args)
   (quietly (apply original-function args)))
 
+(use-package benchmark-init
+  :config (progn
+            (add-hook 'after-init-hook #'benchmark-init/deactivate 99)))
+
 ;;; Customize
 
 (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -105,6 +105,7 @@ [         ace-link
         apheleia
         avy
+        benchmark-init
         capf-autosuggest
         clojure-mode
         company