Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
290 B

  1. ;; Startup time
  2. (defun efs/display-startup-time ()
  3. (message
  4. "Emacs loaded in %s with %d garbage collections."
  5. (format
  6. "%.2f seconds"
  7. (float-time
  8. (time-subtract after-init-time before-init-time)))
  9. gcs-done))
  10. (add-hook 'emacs-startup-hook #'efs/display-startup-time)