mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
25 lines
498 B
EmacsLisp
25 lines
498 B
EmacsLisp
;;; siren-core-performance.el --- jimeh's Emacs Siren: Performance tweaks -*- lexical-binding: nil; -*-
|
|
|
|
;;; Commentary:
|
|
|
|
;; Performance tweaks.
|
|
|
|
;;; Code:
|
|
|
|
;; Setup and use gcmh-mode for improved garbage collection.
|
|
(use-package gcmh
|
|
:ensure (:wait t)
|
|
:demand
|
|
:hook
|
|
(focus-out-hook . gcmh-idle-garbage-collect)
|
|
|
|
:custom
|
|
(gcmh-idle-delay 10)
|
|
(gcmh-high-cons-threshold 104857600)
|
|
|
|
:config
|
|
(gcmh-mode +1))
|
|
|
|
(provide 'siren-core-performance)
|
|
;;; siren-core-performance.el ends here
|