aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-01-15 16:35:41 -0500
committerJesús <heckyel@hyperbola.info>2022-01-15 16:35:41 -0500
commit9c7add3600246ada5b4cbf2524b2b39568492858 (patch)
tree0dab6e34651d512527ca1a3d50bbc943e05defd3
parent466d3c421320209d8fa4ad6faa85a6096249057a (diff)
downloademacs-personal-9c7add3600246ada5b4cbf2524b2b39568492858.tar.lz
emacs-personal-9c7add3600246ada5b4cbf2524b2b39568492858.tar.xz
emacs-personal-9c7add3600246ada5b4cbf2524b2b39568492858.zip
Add performance read-process-output
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el
index 3ba97de..d12dfb9 100644
--- a/init.el
+++ b/init.el
@@ -35,6 +35,8 @@
(setq gc-cons-threshold 402653184
gc-cons-percentage 0.6)
+ (setq read-process-output-max (* 1024 1024)) ;; 1mb
+
;; Reset GC to normal values.
(add-hook 'emacs-startup-hook
(lambda ()