doom--display-benchmark: fix plugin count for uncompiled state
This commit is contained in:
parent
598f3bc640
commit
f09fba5736
1 changed files with 4 additions and 1 deletions
|
@ -254,7 +254,10 @@ Used by `require!' and `depends-on!'."
|
|||
|
||||
(defun doom--display-benchmark ()
|
||||
(message "Loaded %s packages in %.03fs"
|
||||
(eval-when-compile (length doom--package-load-path))
|
||||
;; Certainly imprecise, especially where custom additions to
|
||||
;; load-path are concerned, but I don't mind a [small] margin of
|
||||
;; error in the plugin count.
|
||||
(- (length load-path) (length doom--base-load-path))
|
||||
(setq doom-init-time (float-time (time-subtract after-init-time before-init-time)))))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue