From c3ffd21fdc6a4e51c7f05d796cd93aa3bcb351aa Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 29 Nov 2015 16:49:31 +0100 Subject: Emacs: Add init benchmarking --- tag-emacs/emacs.d/init.org | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 8e8db1c..62c43fc 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -44,7 +44,9 @@ the buffer to be empty. (package-install 'use-package)) (require 'use-package)) (setq use-package-verbose t - use-package-ensure-always-ensure t) + use-package-always-ensure t) + (use-package benchmark-init + :config (benchmark-init/activate)) #+END_SRC * Customize @@ -2391,9 +2393,10 @@ the =org=-document after changes. Start a server if possible. A daemon is already a server. #+BEGIN_SRC emacs-lisp -(unless (daemonp) - (require 'server) - (if (server-running-p server-name) - (message "Server already appears to be running") - (server-start))) + (unless (daemonp) + (require 'server) + (if (server-running-p server-name) + (message "Server already appears to be running") + (server-start))) + (benchmark-init/deactivate) #+END_SRC -- cgit 1.4.1