PROJECTS NOTES HOME

Emacs init time

1 emacs init time

2 use-package-report

[2022-04-10 Sun] allows to invoke and use use-package-report

(setq use-package-compute-statistics t)

3 Show startup time on emacs-load

(defun efs/display-startup-time ()
  (message "Emacs loaded in %s with %d garbage collections."
           (format "%.2f seconds"
                   (float-time
                    (time-subtract after-init-time before-init-time)))
           gcs-done))

(add-hook 'emacs-startup-hook #'efs/display-startup-time)

4 Message

Add such message in the package and then look at messages buffer on startup to find which one has failed.

:config
(message "Org-roam got loaded!")