Function: use-package-statistics-time

use-package-statistics-time is a byte-compiled function defined in use-package-core.el.gz.

Signature

(use-package-statistics-time PACKAGE)

Documentation

Return the time is took for PACKAGE to load.

Source Code

;; Defined in /usr/src/emacs/lisp/use-package/use-package-core.el.gz
(defun use-package-statistics-time (package)
  "Return the time is took for PACKAGE to load."
  (+ (float-time (gethash :config-secs package '(0 0 0 0)))
     (float-time (gethash :init-secs package '(0 0 0 0)))
     (float-time (gethash :preface-secs package '(0 0 0 0)))
     (float-time (gethash :use-package-secs package '(0 0 0 0)))))