Add performance read-process-output
This commit is contained in:
2
init.el
2
init.el
@@ -35,6 +35,8 @@
|
|||||||
(setq gc-cons-threshold 402653184
|
(setq gc-cons-threshold 402653184
|
||||||
gc-cons-percentage 0.6)
|
gc-cons-percentage 0.6)
|
||||||
|
|
||||||
|
(setq read-process-output-max (* 1024 1024)) ;; 1mb
|
||||||
|
|
||||||
;; Reset GC to normal values.
|
;; Reset GC to normal values.
|
||||||
(add-hook 'emacs-startup-hook
|
(add-hook 'emacs-startup-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|||||||
Reference in New Issue
Block a user