Add GC statistics gathering

master
Hugo Thunnissen 11 months ago
parent 7ce1e3d856
commit b89a317422

@ -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)

Loading…
Cancel
Save