[Emacs] Finish benchmarking in init.el

This commit is contained in:
Ivan Malison 2017-08-28 21:58:39 -07:00
parent 530faf3fc0
commit cbcdec4e5d
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 2 additions and 5 deletions

View File

@ -4173,7 +4173,6 @@ I had to disable this mode because something that it does messes with coding set
** recentf ** recentf
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package recentf (use-package recentf
:defer 1
:config :config
(progn (progn
(setq recentf-max-saved-items 1000 (setq recentf-max-saved-items 1000
@ -4934,7 +4933,3 @@ load-theme hook (See the heading below).
(when (file-exists-p custom-after-file) (load custom-after-file)) (when (file-exists-p custom-after-file) (load custom-after-file))
(when (file-exists-p machine-custom) (load machine-custom)) (when (file-exists-p machine-custom) (load machine-custom))
#+END_SRC #+END_SRC
* Finish Benchmarking
#+BEGIN_SRC emacs-lisp
(when imalison:do-benchmark (benchmark-init/deactivate))
#+END_SRC

View File

@ -72,6 +72,8 @@
(straight-transaction (straight-transaction
(concat (file-name-directory load-file-name) "README.org")))) (concat (file-name-directory load-file-name) "README.org"))))
(when imalison:do-benchmark (benchmark-init/deactivate))
;; Local Variables: ;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc) ;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; End: ;; End: