diff --git a/emacs/init.el b/emacs/init.el index 41b1696..efa39c3 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -21,6 +21,13 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;; GLOBAL MODES ;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; GC statistics(https://www.reddit.com/r/emacs/comments/14dej62/please_help_collecting_statistics_to_optimize/). +(require 'emacs-gc-stats) +(setq emacs-gc-stats-gc-defaults 'emacs-defaults) ; optional +(emacs-gc-stats-mode +1) + + (require 'flyspell) (add-hook 'prog-mode-hook 'flyspell-prog-mode)