Fix module count in benchmark

This commit is contained in:
Henrik Lissner 2018-03-12 12:54:21 -04:00
parent 724773cbe4
commit c6931db3f8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -133,7 +133,7 @@ missing) and shouldn't be deleted.")
;; load-path are concerned, but I don't mind a [small] margin of
;; error in the plugin count in exchange for faster startup.
(- (length load-path) (length doom-site-load-path))
(hash-table-size doom-modules)
(hash-table-count doom-modules)
(or doom-init-time
(setq doom-init-time (float-time (time-subtract (current-time) before-init-time))))))